Add liana and version to shasums txt file
This commit is contained in:
parent
d0fefc37f4
commit
39616bea42
@ -94,6 +94,6 @@ NIX_BUILD_DIR="$(nix path-info .#release)"
|
||||
mv "Liana-$VERSION-noncodesigned.zip" "$RELEASE_DIR/"
|
||||
)
|
||||
|
||||
find "$RELEASE_DIR" -type f ! -name "shasums.txt" -exec sha256sum {} + | tee "$RELEASE_DIR/shasums.txt"
|
||||
find "$RELEASE_DIR" -type f ! -name "$LIANA_PREFIX-shasums.txt" -exec sha256sum {} + | tee "$RELEASE_DIR/$LIANA_PREFIX-shasums.txt"
|
||||
|
||||
set +ex
|
||||
|
||||
@ -4,6 +4,7 @@ set -e # Exit immediately if a command exits with a non-zero status
|
||||
set -x # Print commands and their arguments as they are executed
|
||||
|
||||
VERSION="${VERSION:-"9.0"}"
|
||||
LIANA_PREFIX="liana-$VERSION"
|
||||
# Define the release directory
|
||||
RELEASE_DIR="$PWD/release_assets"
|
||||
RELEASE_BUILD_DIR="$PWD/release_build"
|
||||
@ -12,7 +13,7 @@ RELEASE_BUILD_DIR="$PWD/release_build"
|
||||
sign_with_gpg() {
|
||||
(
|
||||
cd "$RELEASE_DIR"
|
||||
gpg --detach-sign --armor "shasums.txt"
|
||||
gpg --detach-sign --armor "$LIANA_PREFIX-shasums.txt"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@ -98,6 +98,14 @@ Example for Linux (replace the signature name with the one corresponding to your
|
||||
gpg --keyserver hkps://keys.openpgp.org --refresh-keys 5B63F3B97699C7EEF3B040B19B7F629A53E77B83
|
||||
```
|
||||
|
||||
if Liana version is superior or equal to v9:
|
||||
|
||||
```
|
||||
gpg --keyserver hkps://keys.openpgp.org --receive 5B63F3B97699C7EEF3B040B19B7F629A53E77B83
|
||||
sha256sum --check liana-9.0-shasums.txt
|
||||
gpg --verify liana-9.0-shasums.txt.asc
|
||||
```
|
||||
|
||||
|
||||
If all is good, you can run Liana!
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user