Skip to content

Commit

Permalink
Update Makefile release directive to use correct release name
Browse files Browse the repository at this point in the history
  • Loading branch information
montanaflynn committed Feb 18, 2020
1 parent 6a81663 commit 24bb47f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.PHONY: all

default: test lint

format:
go fmt
go fmt .

test:
go test -race
Expand All @@ -25,10 +27,8 @@ docs:
godoc2md github.com/montanaflynn/stats | sed -e s#src/target/##g > DOCUMENTATION.md

release:
RELEASE_NOTES:=$(shell git-chglog $(TAG))
$(RELEASE_NOTES)
git tag ${TAG}
git-chglog $(TAG) | tail -n +4 | sed '1s/^/$(TAG)\n/gm' > release-notes.txt
git push origin master ${TAG}
hub release create -m $(RELEASE_NOTES) ${TAG}
hub release create --copy -F release-notes.txt ${TAG}

default: lint test

0 comments on commit 24bb47f

Please sign in to comment.