From d8bb06a7cedb2bff3963de3b8fa9fd09efafe599 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 26 Apr 2024 22:31:21 +0200 Subject: [PATCH] build: fix GitHub release asset file names --- .github/workflows/build_macos.yml | 2 +- justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index 0132bf793..8abd7bae3 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -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 diff --git a/justfile b/justfile index bfe1ca036..c18a20ff5 100644 --- a/justfile +++ b/justfile @@ -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}"