File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,19 @@ jobs:
22
22
- run : npm ci
23
23
- run : npm run build --if-present
24
24
- run : cp src/meta.user.js build/userscript.meta.js
25
+ - name : Get version
26
+ id : version
27
+ uses : notiz-dev/github-action-json-property@release
28
+ with :
29
+ path : package.json
30
+ prop_path : version
25
31
- name : Create Release
26
32
# You may pin to the exact commit or the version.
27
33
# uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e
28
34
29
35
with :
30
36
token : ${{ secrets.GITHUB_TOKEN }}
31
- tag : v${{ github.run_number }}
32
- name : release v${{ github.run_number }}
37
+ tag : v${{ steps.version.outputs.prop }}-${{ github.run_number }}
38
+ name : release v${{ steps.version.outputs.prop }}-${{ github.run_number }}
33
39
artifacts : build/*
34
40
artifactErrorsFailBuild : true
You can’t perform that action at this time.
0 commit comments