We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa12db9 commit 0c136ccCopy full SHA for 0c136cc
Makefile
@@ -0,0 +1,19 @@
1
+VERSION := v1.0.0
2
+
3
+compile: deps
4
+ go build
5
6
+install:
7
+ go install
8
9
+deps:
10
+ go get github.com/c4milo/github-release
11
12
+release:
13
+ set -x; \
14
+ latest_tag=$$(git describe --tags `git rev-list --tags --max-count=1`); \
15
+ comparison="$$latest_tag..HEAD"; \
16
+ if [ -z "$$latest_tag" ]; then comparison=""; fi; \
17
+ changelog=$$(git log $$comparison --oneline --no-merges --reverse); \
18
+ DEBUG=1 github-release c4milo/github-release $(VERSION) "$$(git rev-parse --abbrev-ref HEAD)" "**Changelog**<br/>$$changelog" ${FILES}; \
19
+ git pull
0 commit comments