Skip to content

Commit 911e71a

Browse files
Merge pull request #7 from macadmins/semantic_versioning
semantic versioning
2 parents 9328c8d + 94721f6 commit 911e71a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
build:
55
runs-on: macos-14
66
env:
7-
VERSION: 1.0.${{github.run_number}}
7+
VERSION: 1.0.${{ github.run_number }}
88
steps:
99
- name: Checkout code
1010
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
@@ -28,7 +28,7 @@ jobs:
2828
p12-file-base64: ${{ secrets.PKG_CERTIFICATES_P12_MAOS }}
2929
p12-password: ${{ secrets.PKG_CERTIFICATES_P12_PASSWORD_MAOS }}
3030
- name: Build package
31-
run: ./tools/build_pkg.zsh $VERSION ${{ secrets.NOTARY_APP_PASSWORD_MAOS }}
31+
run: ./tools/build_pkg.zsh ${{ env.VERSION }} ${{ secrets.NOTARY_APP_PASSWORD_MAOS }}
3232
- name: Generate changelog
3333
id: changelog
3434
uses: metcalfc/changelog-generator@d552ecf3366cf9d6da9fd7dbe425325d3d095aa8 # v4.3.1
@@ -39,8 +39,8 @@ jobs:
3939
id: create_release
4040
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
4141
with:
42-
name: v$VERSION
43-
tag_name: v$VERSION
42+
name: v${{ env.VERSION }}
43+
tag_name: v${{ env.VERSION }}
4444
draft: false
4545
prerelease: false
4646
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)