Skip to content

Commit

Permalink
Github actions release
Browse files Browse the repository at this point in the history
  • Loading branch information
porjo committed Oct 9, 2023
1 parent d004f1e commit b05aeaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
- bash check_tag.sh {{.Version}}
- git tag -v {{.Version}}
builds:
- env:
- CGO_ENABLED=0
Expand Down
3 changes: 1 addition & 2 deletions check_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ TAG=$1

[ $# -ne 1 ] && echo "$0: git tag missing" && exit 1

#! git tag -v $TAG &> /dev/null && echo "ERROR: git tag $TAG not signed" && exit 1
! git tag -v $TAG && echo "ERROR: git tag $TAG not signed" && exit 1
! git tag -v $TAG &> /dev/null && echo "ERROR: git tag $TAG not signed" && exit 1

exit 0

0 comments on commit b05aeaf

Please sign in to comment.