Skip to content

Commit

Permalink
release: remove windows zip
Browse files Browse the repository at this point in the history
The zip was containing only the readme file and the unsigned .exe.
It is not really useful for a windows user.
  • Loading branch information
edouardparis committed Jan 15, 2025
1 parent 32973c1 commit e9ae09f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions contrib/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ VERSION="${VERSION:-"9.0-rc1"}"
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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e9ae09f

Please sign in to comment.