Merge #618: README: mention the Debian package

b6c71ebe6ab70c7cd4492632cd175fbaddb84b12 contrib: fixup the Debian package creation in the release script (Antoine Poinsot)
d2b0e401318a13d336db91daaf293bb1800cada7 README: mention the Debian package on the README (Antoine Poinsot)

Pull request description:

  Keeping it draft until we actually publish the package.

ACKs for top commit:
  darosior:
    ACK b6c71ebe6ab70c7cd4492632cd175fbaddb84b12

Tree-SHA512: 0b6d1c0865afb02ec1a43eb582270f22d8f115b95850982a9376fe24cf665780885fcf91d969bbea3ae8ac6d7b13766f9cf17cc773d9ebe88dcc5932f0115776
This commit is contained in:
Antoine Poinsot 2023-08-25 14:41:52 +02:00
commit f0a13676bf
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
2 changed files with 6 additions and 4 deletions

View File

@ -44,10 +44,12 @@ source, see [`doc/BUILD.md`](doc/BUILD.md) instead.
Head to the [release page](https://github.com/wizardsardine/liana/releases) and download the right
executable for your platform. If you are not sure what is the "right" executable for your platform,
choose:
- `Liana.zip` if you are on MacOS,
- `liana-1.1.exe` if you are on Windows,
- `liana-1.1-x86_64-linux-gnu.tar.gz` if you are on Linux. Note you may have to compile the software
yourself if you are on Linux. See the [section below](#a-note-on-linux-binaries-and-glibc-version).
- `liana_1.1-1_amd64.deb` if you are running a Debian-based Linux (such as Ubuntu). Use `apt install
./liana_1.1-1_amd64.deb` as root (or preceded by `sudo`) to install it.
- `liana-1.1-x86_64-linux-gnu.tar.gz` if you use another Linux distribution. Note you may have to
compile the software yourself if you are on Linux. See the [section
below](#a-note-on-linux-binaries-and-glibc-version).
For every file available on the release page, there is an accompanying `.asc` file with the same
name. This is a GPG signature made with Antoine Poinsot's key:

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"