Skip to content

Commit

Permalink
CI: export version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Dec 5, 2023
1 parent 88f7ee7 commit e026c37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ jobs:
run: sh macos/create_pkg.sh ${{ matrix.arch }} "${{ vars.APPLE_DEVELOPER_ID}}"
env:
VERSION: ${{ env.VERSION }}
- name: Set Version
if: ${{ env.VERSION == '' }}
run: |
export VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')-dev
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Notarise installer
run: |
ls
Expand Down

0 comments on commit e026c37

Please sign in to comment.