Skip to content

Commit

Permalink
Merge #1521: fix script: remove paths from checksums file
Browse files Browse the repository at this point in the history
bd3eaa1 fix script: remove paths from checksums file (edouardparis)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK bd3eaa1

Tree-SHA512: 4cd2325975f91d44e89ac0e0c66e7b7feca83d2c94172f31c26bf98f1835978789f62e803a3c2833d5fc6171f70668a4de64281ff10ee0605385000a249dd21c
  • Loading branch information
edouardparis committed Jan 7, 2025
2 parents 63fcb47 + bd3eaa1 commit dbfbad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ NIX_BUILD_DIR="$(nix path-info .#release)"
mv "Liana-$VERSION-noncodesigned.zip" "$RELEASE_DIR/"
)
find "$RELEASE_DIR" -type f ! -name "$LIANA_PREFIX-shasums.txt" -exec sha256sum {} + | tee "$RELEASE_DIR/$LIANA_PREFIX-shasums.txt"
find "$RELEASE_DIR" -type f ! -name "$LIANA_PREFIX-shasums.txt" -exec sha256sum {} + | sed "s|$RELEASE_DIR/||" | tee "$RELEASE_DIR/$LIANA_PREFIX-shasums.txt"
set +ex
2 changes: 1 addition & 1 deletion contrib/release/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ sign_with_rcodesign() {

zip_archive "Liana-$VERSION.zip" Liana.app
mv "Liana-$VERSION.zip" "$RELEASE_DIR/"
sha256sum "$RELEASE_DIR/Liana-$VERSION.zip" | tee -a "$RELEASE_DIR/shasums.txt"
sha256sum "$RELEASE_DIR/Liana-$VERSION.zip" | tee -a "$RELEASE_DIR/$LIANA_PREFIX-shasums.txt"
}

if [ "$#" -lt 1 ]; then
Expand Down

0 comments on commit dbfbad7

Please sign in to comment.