Skip to content

Commit

Permalink
Merge #1544: release: remove windows zip
Browse files Browse the repository at this point in the history
e9ae09f 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 e9ae09f

Tree-SHA512: 907e19fd6a0132e5ab5160f8ea4d73447e9fd370c6c0d01b3dc8ee6284b595e0624b91526119df4a3db2472dc9a6b5b638a01608b6c6d95c964f4d22e6542b54
  • Loading branch information
edouardparis committed Jan 15, 2025
2 parents 32973c1 + e9ae09f commit 18058fe
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 18058fe

Please sign in to comment.