Skip to content

Commit

Permalink
chore: Sign RPM files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Dec 22, 2023
1 parent d34fb12 commit 898c4a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ nfpms:
dst: /usr/share/doc/oatmeal/copyright/THIRDPARTY.html
file_info:
mode: 0644
rpm:
signature:
key_file: "{{ .Env.RPM_KEY }}"

aurs:
- name: oatmeal-bin
Expand Down
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ cargo gha gh run download -D dist-gh "$GH_RUN_ID"
fd -t f . './dist-gh' | grep -v -i -E '(dwp|dSYM|pdb)' | xargs -L1 chmod +x

# Release to Github
AUR_KEY=$(cat ~/.ssh/aur) cargo gha goreleaser --clean
AUR_KEY=$(cat ~/.ssh/aur) RPM_KEY="$HOME/.gpg/yum-private.key" cargo gha goreleaser --clean
cargo bin git-cliff --latest --strip header | cargo bin dprint fmt --stdin md | cargo gha gh release edit "v$OM_VERSION" --notes-file -

# Release to package managers not supported by GoReleaser.
Expand Down

0 comments on commit 898c4a0

Please sign in to comment.