-
Notifications
You must be signed in to change notification settings - Fork 153
33 lines (27 loc) · 985 Bytes
/
bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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##*/}"