Skip to content

Commit

Permalink
Properly reference version in build yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshball committed Jan 5, 2025
1 parent 45a11fc commit 0a0f76f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ jobs:

- name: Sign installer
run: |
productsign -s "${{ secrets.APPLE_DEVELOPER_ID_INSTALLER }}" "packaging/build/${{ matrix.project }}.pkg" "bin/${{ matrix.project }}-{{ matrix.version }}.pkg"
pkgutil --check-signature "bin/${{ matrix.project }}-{{ matrix.version }}.pkg"
productsign -s "${{ secrets.APPLE_DEVELOPER_ID_INSTALLER }}" "packaging/build/${{ matrix.project }}.pkg" "bin/${{ matrix.project }}-${{ matrix.version }}.pkg"
pkgutil --check-signature "bin/${{ matrix.project }}-${{ matrix.version }}.pkg"
- name: Notarize installer
uses: lando/notarize-action@v2
with:
product-path: "bin/${{ matrix.project }}-{{ matrix.version }}.pkg"
product-path: "bin/${{ matrix.project }}-${{ matrix.version }}.pkg"
appstore-connect-username: ${{ secrets.APPLE_ID }}
appstore-connect-password: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
appstore-connect-team-id: ${{ secrets.APPLE_TEAM_ID }}
Expand All @@ -122,10 +122,10 @@ jobs:
verbose: true

- name: Staple installer
run: xcrun stapler staple "bin/${{ matrix.project }}-{{ matrix.version }}.pkg"
run: xcrun stapler staple "bin/${{ matrix.project }}-${{ matrix.version }}.pkg"

- name: Check installer
run: spctl -a -vvv -t install "bin/${{ matrix.project }}-{{ matrix.version }}.pkg"
run: spctl -a -vvv -t install "bin/${{ matrix.project }}-${{ matrix.version }}.pkg"

- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
path: "packaging/${{ matrix.project }}.iss"

- name: Move installer to bin
run: mv "packaging/build/${{ matrix.project }}.exe" "bin/${{ matrix.project }}-{{ matrix.version }}.exe"
run: mv "packaging/build/${{ matrix.project }}.exe" "bin/${{ matrix.project }}-${{ matrix.version }}.exe"

- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down
Binary file modified Resources/images/sosci_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a0f76f

Please sign in to comment.