chore: update goreleaser version

Update goreleaser version to v1.1.0. Also print the changelog in the logs.
main
sundowndev 2021-12-21 16:16:03 +04:00
parent aae0a29707
commit 3c1716a336
No known key found for this signature in database
GPG Key ID: 100CE2799D978462
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ set -eo pipefail
if ! which goreleaser >/dev/null; then
echo "+ Installing goreleaser..."
go install github.com/goreleaser/goreleaser@v0.173.2
go install github.com/goreleaser/goreleaser@v1.1.0
fi
export ENV="${ENV:-dev}"
@ -40,7 +40,9 @@ if [ "$CI" != true ]; then
fi
if [ "$CI" == true ] && [ "$CMD" == "release" ]; then
echo "Generating changelog..."
./scripts/changelog.sh > CHANGELOG.md
cat CHANGELOG.md
FLAGS+="--release-notes CHANGELOG.md "
fi