bump #177
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bump | |
on: | |
workflow_dispatch: | |
jobs: | |
bump: | |
name: increase version numbers | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: configure git | |
run: | | |
git config --global user.name 'github-actions' | |
git config --global user.email '[email protected]' | |
- name: create local release branch | |
run: git fetch origin release/arrowsquid:release/arrowsquid | |
- name: check change files | |
run: node common/scripts/install-run-rush.js change --verify --target-branch origin/release/arrowsquid | |
- name: bump versions | |
run: node common/scripts/install-run-rush.js version --bump --target-branch release/arrowsquid | |
- name: merge back release branch | |
run: | | |
git checkout "${GITHUB_REF##*/}" | |
git fetch origin release/arrowsquid | |
git merge release/arrowsquid | |
git push origin "${GITHUB_REF##*/}" |