Skip to content

Commit

Permalink
Revert "feat: sign tar.gz packages (#1216)" (#1237)
Browse files Browse the repository at this point in the history
This reverts commit a2b9ac6.
  • Loading branch information
rubenruizdegauna authored Jun 16, 2022
1 parent a2b9ac6 commit ee90b17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 133 deletions.
10 changes: 1 addition & 9 deletions build/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,4 @@ echo RELOADAGENT | gpg-connect-agent
for deb_file in $(find -regex ".*\.\(deb\)");do
echo "===> Signing $deb_file"
debsigs --sign=origin --verify --check -v -k ${GPG_MAIL} $deb_file
done

# Sign TARGZ files
for targz_file in $(find -regex ".*\.\(tar.gz\)");do
echo "===> Signing $targz_file"
gpg --sign --armor --detach-sig $targz_file
echo "===> Sign verification $targz_file"
gpg --verify ${targz_file}.asc $targz_file
done
done
4 changes: 2 additions & 2 deletions build/upload_artifacts_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ delete_asset_by_name() {
MAX_ATTEMPTS=20
ATTEMPTS=$MAX_ATTEMPTS
cd dist
for filename in $(find . -name "*.msi" -o -name "*.rpm" -o -name "*.deb" -o -name "*.zip" -o -name "*.tar.gz" -o -name "*.tar.gz.asc");do
for filename in $(find . -name "*.msi" -o -name "*.rpm" -o -name "*.deb" -o -name "*.zip" -o -name "*.tar.gz");do
echo "===> Uploading to GH $TAG: ${filename}"
while [ "${ATTEMPTS}" -gt 0 ];do
gh release upload "${TAG}" "${filename}" --clobber
Expand All @@ -66,4 +66,4 @@ for filename in $(find . -name "*.msi" -o -name "*.rpm" -o -name "*.deb" -o -nam
exit 1
fi
ATTEMPTS="${MAX_ATTEMPTS}"
done
done
122 changes: 0 additions & 122 deletions docs/pgp-signed-release.md

This file was deleted.

0 comments on commit ee90b17

Please sign in to comment.