Skip to content

Commit

Permalink
more fixes to the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Jan 15, 2022
1 parent a40e32a commit 7dece97
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions do_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ fi

VERSION=$1 ; shift

git tag ${VERSION}
changie batch ${VERSION}

RELEASE_NOTES=changes/$(changie latest).md

changie merge
goreleaser --release-notes=${RELEASE_NOTES}

git add $RELEASE_NOTES
git add -u
git commit -m "add changelog for ${VERSION}"

git tag ${VERSION}

goreleaser --release-notes=${RELEASE_NOTES} --rm-dist

0 comments on commit 7dece97

Please sign in to comment.