Merge #332: contrib: fix dmg creation in the release script

fa518af53d8b8a0b2f8a67072d173dce662e8a5b contrib: fix dmg creation in the release script (Antoine Poinsot)

Pull request description:

  The binary need to be named the same as the configured application name.

ACKs for top commit:
  darosior:
    self-ACK fa518af53d8b8a0b2f8a67072d173dce662e8a5b

Tree-SHA512: 8dc4f0d8025fca1b046345b60b0a0e4e42d51da492af85f7e2f0b50db36509deca55d30fbe6740a2b20fd59d18f774684c75fe6e9cdfab0e0c8314a23e860fdf
This commit is contained in:
Antoine Poinsot 2023-02-07 16:01:02 +01:00
commit 5096858955
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -65,7 +65,7 @@ TARGET_DIR="$BUILD_DIR" ./contrib/reproducible/docker/docker-build.sh
pip install ds_store mac_alias
python3 ../contrib/release/macos/gen_dstore.py
mv .DS_Store "$DMG_DIR/"
cp "$BUILD_DIR/gui/x86_64-apple-darwin/release/liana-gui" "$DMG_DIR/Liana.app/Contents/MacOS/"
cp "$BUILD_DIR/gui/x86_64-apple-darwin/release/liana-gui" "$DMG_DIR/Liana.app/Contents/MacOS/Liana"
DMG_FILE="liana-$VERSION.dmg"
xorrisofs -D -l -V Liana -no-pad -r -dir-mode 0755 -o "$DMG_FILE" "$DMG_DIR"
cp "$DMG_FILE" "$RELEASE_DIR/"