This repository was archived by the owner on Aug 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 runs-on : ubuntu-latest
6060 needs : [build]
6161 steps :
62- - uses : GoogleCloudPlatform/release-please-action@v2.5.7
62+ - uses : GoogleCloudPlatform/release-please-action@v2.8.0
6363 with :
6464 token : ${{ secrets.ACTIONS_BOT_TOKEN }}
6565 release-type : node
7070 runs-on : ubuntu-latest
7171 needs : [build]
7272 steps :
73- - uses : GoogleCloudPlatform/release-please-action@v2.5.7
73+ - uses : GoogleCloudPlatform/release-please-action@v2.8.0
74+ id : release
7475 with :
7576 token : ${{ secrets.GITHUB_TOKEN }}
7677 release-type : node
7778 package-name : ${{env.ACTION_NAME}}
7879 command : github-release
80+ - name : tag major and patch versions
81+ run : |
82+ git config user.name github-actions[bot]
83+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
84+ git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/google-github-actions/release-please-action.git"
85+ git tag -d v${{ steps.release.outputs.major }}; echo ok
86+ git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}; echo ok
87+ git push origin :v${{ steps.release.outputs.major }}; echo ok
88+ git push origin :v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}; echo ok
89+ git tag -a v${{ steps.release.outputs.major }}
90+ git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
91+ git push origin v${{ steps.release.outputs.major }}
92+ git push origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }};
93+ if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments