contrib: fixup the Debian package creation in the release script

This commit is contained in:
Antoine Poinsot 2023-08-25 14:37:56 +02:00
parent d2b0e40131
commit b6c71ebe6a
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -44,7 +44,7 @@ TARGET_DIR="$BUILD_DIR" ./contrib/reproducible/docker/docker-build.sh
unzip ../contrib/release/debian/package.zip
sed -i "s/VERSION_PLACEHOLDER/$VERSION/g" ./package/DEBIAN/control
cp "$BUILD_DIR/release/lianad" "$BUILD_DIR/release/liana-cli" "$BUILD_DIR/gui/release/liana-gui" ../README.md ./package/usr/local/bin/
cp "$BUILD_DIR/release/lianad" "$BUILD_DIR/release/liana-cli" "$BUILD_DIR/gui/release/liana-gui" ../README.md ./package/usr/bin/
DIRNAME="liana_$VERSION-1_amd64"
mv ./package "$DIRNAME"
dpkg-deb --build "$DIRNAME"