build: fix GitHub release asset file names

This commit is contained in:
Marcin Kurczewski 2024-04-26 22:31:21 +02:00
parent 2423abeb9d
commit d8bb06a7ce
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A
2 changed files with 2 additions and 2 deletions

View file

@ -261,7 +261,7 @@ jobs:
/usr/bin/codesign --force --options runtime -s "${IDENTITY}" --keychain $KEYCHAIN_PATH -v TR1X-Installer.dmg
xcrun notarytool submit --wait --apple-id "$MACOS_APPLEID" --password "$MACOS_APP_PWD" --team-id "$MACOS_TEAMID" TR1X-Installer.dmg
xcrun stapler staple -v TR1X-Installer.dmg
mv TR1X-Installer.dmg "$(tools/get_version)-Installer.dmg"
mv TR1X-Installer.dmg "TR1X-$(tools/get_version)-Installer.dmg"
- name: Upload signed+notarized installer image
uses: actions/upload-artifact@v4

View file

@ -60,7 +60,7 @@ package-win-all: (build-win "release") (build-win-config) (_docker
package-win-installer: (build-win "release") (build-win-config) (_docker_run "rrdash/tr1x" "package" "-o" "tools/installer/Installer/Resources/release.zip") (build-win-installer)
#!/bin/sh
git checkout "tools/installer/Installer/Resources/release.zip"
exe_name=$(tools/get_version)-Installer.exe
exe_name=TR1X-$(tools/get_version)-Installer.exe
cp tools/installer/out/TR1X_Installer.exe "${exe_name}"
echo "Created ${exe_name}"