Skip to content

Commit f974db7

Browse files
committed
make: add changelog to Github release
Fixes github-release#63.
1 parent 11fd197 commit f974db7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ bin/windows/amd64/$(EXECUTABLE).exe:
5858
release: clean
5959
$(MAKE) bin/tmp/$(EXECUTABLE) $(COMPRESSED_EXECUTABLE_TARGETS)
6060
git push && git push --tags
61-
bin/tmp/$(EXECUTABLE) release -u $(USER) -r $(EXECUTABLE) \
62-
-t $(LAST_TAG) -n $(LAST_TAG) || true
61+
git log --format=%B $(LAST_TAG) -1 | \
62+
bin/tmp/$(EXECUTABLE) release -u $(USER) -r $(EXECUTABLE) \
63+
-t $(LAST_TAG) -n $(LAST_TAG) -d - || true
6364
$(foreach FILE,$(COMPRESSED_EXECUTABLES),$(UPLOAD_CMD);)
6465

6566
# install and/or update all dependencies, run this from the project directory

0 commit comments

Comments
 (0)