@@ -2,7 +2,7 @@ name: release
22
33on :
44 release :
5- types : [ published ]
5+ types : [published]
66
77permissions :
88 contents : write
@@ -12,36 +12,36 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - name : Setup Node.js environment
16- uses : actions/setup-node@v3.1.1
17- with :
18- node-version : 14
19-
20- - name : Checkout
21- uses : actions/checkout@v2.4.2
22- with :
23- ref : master
24-
25- - name : Install packages
26- run : yarn install
27-
28- - name : Run version-bump
29- run : node .github/version-bump.mjs ${{ github.event.release.tag_name }}
30-
31- - name : Commit and push changes
32- run : |
33- git config --global user.name "leonhma"
34- git config --global user.email "leonhardmasche@gmail.com"
35-
36- git add -A
37- git commit -m "chore(versions): index minAppVersion for latest release"
38- git push origin master
39-
40- - name : Build
41- run : yarn build
42-
43- - name : Upload assets to a Release
44- uses : AButler/upload-release-assets@v2.0
45- with :
46- repo-token : ${{ github.token }}
47- files : " main.js;manifest.json"
15+ - name : Setup Node.js environment
16+ uses : actions/setup-node@v3.1.1
17+ with :
18+ node-version : 14
19+
20+ - name : Checkout
21+ uses : actions/checkout@v2.4.2
22+ with :
23+ ref : master
24+
25+ - name : Install packages
26+ run : yarn install
27+
28+ - name : Run version-bump
29+ run : node .github/version-bump.mjs ${{ github.event.release.tag_name }}
30+
31+ - name : Commit and push changes
32+ run : |
33+ git config --global user.name "leonhma"
34+ git config --global user.email "leonhardmasche@gmail.com"
35+
36+ git add -A
37+ git commit -m "chore(versions): index minAppVersion for latest release"
38+ git push origin master
39+
40+ - name : Build
41+ run : yarn build
42+
43+ - name : Upload assets to a Release
44+ uses : AButler/upload-release-assets@v2.0
45+ with :
46+ repo-token : ${{ github.token }}
47+ files : " main.js;manifest.json"
0 commit comments