release: remove windows zip
The zip was containing only the readme file and the unsigned .exe. It is not really useful for a windows user.
This commit is contained in:
parent
ba01c78b4b
commit
d4f9f38ca0
@ -11,8 +11,6 @@ VERSION="${VERSION:-"9.0"}"
|
||||
LIANA_PREFIX="liana-$VERSION"
|
||||
LINUX_DIR_NAME="$LIANA_PREFIX-x86_64-linux-gnu"
|
||||
LINUX_ARCHIVE="$LINUX_DIR_NAME.tar.gz"
|
||||
WINDOWS_DIR_NAME="$LIANA_PREFIX-x86_64-windows-gnu"
|
||||
WINDOWS_ARCHIVE="$WINDOWS_DIR_NAME.zip"
|
||||
|
||||
create_dir() {
|
||||
if [ -d "$1" ]; then
|
||||
@ -67,11 +65,7 @@ NIX_BUILD_DIR="$(nix path-info .#release)"
|
||||
# Create the Windows archive and the raw executable
|
||||
(
|
||||
cd "$BUILD_DIR"
|
||||
create_dir "$WINDOWS_DIR_NAME"
|
||||
cp "$NIX_BUILD_DIR/x86_64-pc-windows-gnu/liana-gui.exe" ../README.md "$WINDOWS_DIR_NAME"
|
||||
zip_archive "$WINDOWS_ARCHIVE" "$WINDOWS_DIR_NAME"
|
||||
mv "$WINDOWS_ARCHIVE" "$RELEASE_DIR"
|
||||
cp "$NIX_BUILD_DIR/x86_64-pc-windows-gnu/liana-gui.exe" "$RELEASE_DIR/$LIANA_PREFIX.exe"
|
||||
cp "$NIX_BUILD_DIR/x86_64-pc-windows-gnu/liana-gui.exe" "$RELEASE_DIR/$LIANA_PREFIX-noncodesigned.exe"
|
||||
)
|
||||
|
||||
# Create the MacOS archive and a zipped application bundle of liana-gui.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user