contrib: fix windows archive creation in release script

It would create an empty archive since it didn't recurse down the
directories..
This commit is contained in:
Antoine Poinsot 2022-12-20 14:57:56 +01:00
parent 2e7c7826e9
commit a0404e5d69
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"
)