mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-10-24 23:02:27 +00:00
Merge pull request #269 from AppleCommander/tweak-jpackage
Trying to set final package name to include actual version (including…
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -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!"
|
||||
@@ -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!"
|
||||
@@ -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!"
|
||||
Reference in new issue
Block a user