No longer include version in package name

This commit is contained in:
Francesco Abbate 2020-11-23 15:33:34 +01:00
parent 58d3e23ca1
commit e9938862b5
1 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ lite_build_package_windows () {
cp "$build/src/lite.exe" "$pdir" cp "$build/src/lite.exe" "$pdir"
strip --strip-all "$pdir/lite.exe" strip --strip-all "$pdir/lite.exe"
pushd ".package-build" pushd ".package-build"
local package_name="lite-xl-$version-$os-$arch.zip" local package_name="lite-xl-$os-$arch.zip"
zip "$package_name" -r "lite-xl" zip "$package_name" -r "lite-xl"
mv "$package_name" .. mv "$package_name" ..
popd popd
@ -72,7 +72,7 @@ lite_build_package_macosx () {
cp "$build/src/lite" "$pdir" cp "$build/src/lite" "$pdir"
strip "$pdir/lite" strip "$pdir/lite"
pushd ".package-build" pushd ".package-build"
local package_name="lite-xl-$version-$os-$arch.zip" local package_name="lite-xl-$os-$arch.zip"
zip "$package_name" -r "lite-xl.app" zip "$package_name" -r "lite-xl.app"
mv "$package_name" .. mv "$package_name" ..
popd popd
@ -91,7 +91,7 @@ lite_build_package_linux () {
cp "$build/src/lite" "$pdir" cp "$build/src/lite" "$pdir"
strip "$pdir/lite" strip "$pdir/lite"
pushd ".package-build" pushd ".package-build"
local package_name="lite-xl-$version-$os-$arch.tar.gz" local package_name="lite-xl-$os-$arch.tar.gz"
tar czf "$package_name" "lite-xl" tar czf "$package_name" "lite-xl"
mv "$package_name" .. mv "$package_name" ..
popd popd