File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ on: [workflow_dispatch]
3
3
jobs :
4
4
build :
5
5
runs-on : macos-14
6
+ env :
7
+ VERSION : 1.0.${{github.run_number}}
6
8
steps :
7
9
- name : Checkout code
8
10
uses : actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
26
28
p12-file-base64 : ${{ secrets.PKG_CERTIFICATES_P12_MAOS }}
27
29
p12-password : ${{ secrets.PKG_CERTIFICATES_P12_PASSWORD_MAOS }}
28
30
- name : Build package
29
- run : ./tools/build_pkg.zsh ${{github.run_number}} ${{ secrets.NOTARY_APP_PASSWORD_MAOS }}
31
+ run : ./tools/build_pkg.zsh $VERSION ${{ secrets.NOTARY_APP_PASSWORD_MAOS }}
30
32
- name : Generate changelog
31
33
id : changelog
32
34
uses : metcalfc/changelog-generator@d552ecf3366cf9d6da9fd7dbe425325d3d095aa8 # v4.3.1
37
39
id : create_release
38
40
uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
39
41
with :
40
- name : v${{github.run_number}}
41
- tag_name : v${{github.run_number}}
42
+ name : v$VERSION
43
+ tag_name : v$VERSION
42
44
draft : false
43
45
prerelease : false
44
46
token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments