Merge #1543: release: remove windows zip

d4f9f38ca0609e87156c7abf31bb80c4b088a4a5 release: remove windows zip (edouardparis)

Pull request description:

  The zip was containing only the readme file and the unsigned .exe. It is not really useful for a windows user.

ACKs for top commit:
  edouardparis:
    Self-ACK d4f9f38ca0609e87156c7abf31bb80c4b088a4a5

Tree-SHA512: 894e2dea205695cc7bd399efb12bbdf9f9b1760b2013b58a8fd83166b31ae60a8aafeac53f50ba61a7baa2cf63eb443621ac2c268d4c56c8fe5294cd5b5935bf
This commit is contained in:
edouardparis 2025-01-15 12:51:01 +01:00
commit 6aed1cb450
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -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.