contrib: Debian packaging for releases
This commit is contained in:
parent
8a7c283269
commit
3e23bf5e35
BIN
contrib/release/debian/package.zip
Normal file
BIN
contrib/release/debian/package.zip
Normal file
Binary file not shown.
@ -34,13 +34,21 @@ create_dir "$BUILD_DIR"
|
||||
OUT_DIR="$BUILD_DIR" ./contrib/reproducible/guix/guix-build.sh
|
||||
TARGET_DIR="$BUILD_DIR" ./contrib/reproducible/docker/docker-build.sh
|
||||
|
||||
# Create the Linux archive
|
||||
# Create the Linux archive and Debian binary package.
|
||||
(
|
||||
cd "$BUILD_DIR"
|
||||
create_dir "$LINUX_DIR_NAME"
|
||||
cp "$BUILD_DIR/release/lianad" "$BUILD_DIR/release/liana-cli" "$BUILD_DIR/gui/release/liana-gui" ../README.md "$LINUX_DIR_NAME"
|
||||
tar -czf "$LINUX_ARCHIVE" "$LINUX_DIR_NAME"
|
||||
cp "$LINUX_ARCHIVE" "$RELEASE_DIR"
|
||||
|
||||
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/
|
||||
DIRNAME="liana_$VERSION-1_amd64"
|
||||
mv ./package "$DIRNAME"
|
||||
dpkg-deb --build "$DIRNAME"
|
||||
mv "$DIRNAME.deb" "$RELEASE_DIR"
|
||||
)
|
||||
|
||||
# Create the Windows archive and the raw executable
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user