Ensure commits/tags are signed

This commit is contained in:
Klaus Hartl 2023-02-18 16:27:44 +01:00
parent 563f193bef
commit 94f83dd582
No known key found for this signature in database
GPG key ID: 6BA8AED91AB6EA2A

4
run.sh
View file

@ -26,9 +26,9 @@ prep_release() {
read -r answer read -r answer
if [ "$answer" = "y" ]; then if [ "$answer" = "y" ]; then
git add --update git add --update
git commit -m "Prepare for $1 release" git commit -S -m "Prepare for $1 release"
git push origin main git push origin main
git tag -a "$1" -m "Release $1" git tag -s "$1" -m "Release $1"
git push --tags git push --tags
_success "Tag for release $1 available!" _success "Tag for release $1 available!"
fi fi