Merge pull request #269 from AppleCommander/tweak-jpackage

Trying to set final package name to include actual version (including…
This commit is contained in:
A2 Geek authored and GitHub committed 2026-07-28 15:32:25 -05:00
commit 045c8a34f3
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ jpackage \
# There doesn't appear to be a mechanism to set the output name without
# changing the application name as well. So we just 'mv' it.
SRC=$(find . -name "applecommander*.deb")
DST="AppleCommander-${VERSION}-${ARCH}.deb"
DST="AppleCommander-${version}-linux-${ARCH}.deb"
mv -v ${SRC} ${DST}
echo "Done!"
+1 -1
View File
@@ -42,7 +42,7 @@ jpackage \
# There doesn't appear to be a mechanism to set the output name without
# changing the application name as well. So we just 'mv' it.
SRC="AppleCommander-${VERSION}.dmg"
DST="AppleCommander-${VERSION}-${ARCH}.dmg"
DST="AppleCommander-${version}-mac-${ARCH}.dmg"
mv -v ${SRC} ${DST}
echo "Done!"
+4 -4
View File
@@ -46,9 +46,9 @@ jpackage `
--win-shortcut `
--win-upgrade-uuid 4ea8ae7d-f155-4c10-af96-467cda0b343f
if ($version -ne $props['version']) {
Write-Host "Renaming AppleCommander-${version}.msi to be AppleCommander-$($props['version']).msi to keep versions consistent."
Rename-Item -Path "AppleCommander-${version}.msi" -NewName "AppleCommander-$($props['version']).msi"
}
$src="AppleCommander-${version}.msi"
$dst="AppleCommander-$($props['version'])-windows-${arch}.msi"
Write-Host "Renaming ${src} to be ${dst} to keep versions consistent."
Rename-Item -Path "${src}" -NewName "${dst}"
Write-Host "Done!"