Merge #262: contrib: fix windows archive creation in release script

a0404e5d69e895467a5a51621e728b78140eae8e contrib: fix windows archive creation in release script (Antoine Poinsot)

Pull request description:

  It would create an empty archive since it didn't recurse down the directories..

ACKs for top commit:
  darosior:
    ACK a0404e5d69e895467a5a51621e728b78140eae8e

Tree-SHA512: 60fb2b019244453c0dc003b3bf8df587d64d5663adc9ac0d9fa94f22c1f785189532c175db0076f2862edce78b638f06008f3e424c3f4b325a8f198a6841976a
This commit is contained in:
Antoine Poinsot 2022-12-20 15:25:31 +01:00
commit f1aec2f4e4
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -43,7 +43,7 @@ TARGET_DIR="$BUILD_DIR" ./contrib/reproducible/docker/docker-build.sh
cd "$BUILD_DIR"
create_dir "$WINDOWS_DIR_NAME"
cp "$BUILD_DIR/gui/x86_64-pc-windows-gnu/release/liana-gui.exe" ../README.md "$WINDOWS_DIR_NAME"
zip "$WINDOWS_ARCHIVE" "$WINDOWS_DIR_NAME"
zip -r "$WINDOWS_ARCHIVE" "$WINDOWS_DIR_NAME"
cp "$WINDOWS_ARCHIVE" "$RELEASE_DIR"
cp "$BUILD_DIR/gui/x86_64-pc-windows-gnu/release/liana-gui.exe" "$RELEASE_DIR/$LIANA_PREFIX.exe"
)