Skip to content

Commit

Permalink
release: adapt AUR release script for signed packages (#541)
Browse files Browse the repository at this point in the history
# Description
We adapted the 'exoscale-cli' and exoscale-cli-bin' packages on AUR to
verify GPG signatures before installation. The sha256sums list now
contains a 'SKIP' element for the corresponding element in the sources
list that references the signature file. We need to adapt the sed line
that substitutes the checksum to respect this.

## Checklist

* [x] Changelog updated (under *Unreleased* block)
* [x] Testing

## Testing
I tested the release script locally on the adapted PKGBUILD files in
'exoscale-cli' and 'exoscale-cli-bin' and was able to build and install
the packages.

---------

Co-authored-by: Philipp Sauter <[email protected]>
  • Loading branch information
sauterp and sauterp authored Sep 15, 2023
1 parent 968fc64 commit f85daf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
cd /home/runner/$aurpkg
sed -i "/^pkgver=/s/.*/pkgver=$version_tag/" PKGBUILD
if [ $aurpkg == "exoscale-cli-bin" ]; then
sed -i "/^sha256sums=/s/.*/sha256sums=\('$checksum'\)/" PKGBUILD
sed -i "/^sha256sums=/s/.*/sha256sums=\('$checksum'/" PKGBUILD
fi
makepkg
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## UNRELEASED

- release: adapt AUR release script for signed packages #541

## 1.73.0

### Features
Expand Down

0 comments on commit f85daf5

Please sign in to comment.