We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf6cb7 commit b8f0917Copy full SHA for b8f0917
.github/workflows/push.yml
@@ -0,0 +1,32 @@
1
+name: 'Bump Version'
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'master'
7
8
+jobs:
9
+ bump-version:
10
+ name: 'Bump Version on master'
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: 'Checkout source code'
15
+ uses: 'actions/checkout@v2'
16
+ with:
17
+ ref: ${{ github.ref }}
18
+ - name: 'cat package.json'
19
+ run: cat ./package.json
20
+ - name: 'Automated Version Bump'
21
+ id: version-bump
22
+ uses: 'phips28/gh-action-bump-version@master'
23
24
+ tag-prefix: 'v'
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
28
29
+ - name: 'Output Step'
30
31
+ NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
32
+ run: echo "new tag $NEW_TAG"
0 commit comments