mirror of
https://github.com/carhartl/talisman-secrets-scan-action.git
synced 2024-12-04 21:30:23 +00:00
Ensure commits/tags are signed
This commit is contained in:
parent
563f193bef
commit
94f83dd582
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue