Update version before release
This commit is contained in:
parent
9676c3194c
commit
6e5145c6a9
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -20,10 +20,14 @@ jobs:
|
|||
with:
|
||||
cache: npm
|
||||
node-version-file: package.json
|
||||
- run: |
|
||||
sed -ri 's/"version": ".+"/"version": "${{ inputs.tag }}"/' package.json
|
||||
sed -ri 's/setup-bazel@.+$/setup-bazel@${{ inputs.tag }}/g' README.md
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: git config user.name github-actions
|
||||
- run: git config user.email github-actions@github.com
|
||||
- run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
- run: git commit -am "Release ${{ inputs.tag }}"
|
||||
- run: git push
|
||||
- run: gh release create ${{ inputs.tag }} --generate-notes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue