diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index fd8e4e1..e0cc5b7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -75,6 +75,9 @@ jobs: mkdir -p build tar -C build -xzf beatit-macos-build.tar.gz + - name: Set release version + run: echo "RELEASE_VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV" + - name: Import signing certificate env: MACOS_CERTIFICATE: ${{ secrets.MAC_CERT_P12_BASE64 }} @@ -182,7 +185,7 @@ jobs: uses: softprops/action-gh-release@v2 with: draft: true - files: dist/beatit-macos-${{ github.ref_name }}.pkg + files: dist/beatit-macos-${{ env.RELEASE_VERSION }}.pkg # homebrew: # runs-on: macos-14