File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11NAME := github-release
2- VERSION := v1.0.3
2+ VERSION := v1.0.4
33
44compile :
55 @rm -rf build/
@@ -13,7 +13,7 @@ compile:
1313install :
1414 go install -ldflags " -X main.Version $( VERSION) "
1515
16- deps :
16+ deps :
1717 go get github.com/c4milo/github-release
1818 go get github.com/mitchellh/gox
1919
@@ -28,11 +28,11 @@ dist: compile
2828 done
2929
3030release : dist
31- latest_tag=$$(git describe --tags `git rev-list --tags --max-count=1` ) ; \
32- comparison=" $$ latest_tag..HEAD" ; \
33- if [ -z " $$ latest_tag" ]; then comparison=" " ; fi ; \
34- changelog=$$(git log $$comparison --oneline --no-merges --reverse ) ; \
35- github-release c4milo/github-release $(VERSION ) " $$ (git rev-parse --abbrev-ref HEAD)" " **Changelog**<br/>$$ changelog" ' dist/*' ; \
36- git pull
31+ @ latest_tag=$$(git describe --tags `git rev-list --tags --max-count=1` ) ; \
32+ comparison=" $$ latest_tag..HEAD" ; \
33+ if [ -z " $$ latest_tag" ]; then comparison=" " ; fi ; \
34+ changelog=$$(git log $$comparison --oneline --no-merges --reverse ) ; \
35+ github-release c4milo/github-release $(VERSION ) " $$ (git rev-parse --abbrev-ref HEAD)" " **Changelog**<br/>$$ changelog" ' dist/*' ; \
36+ git pull
3737
3838.PHONY : compile install deps dist release
You can’t perform that action at this time.
0 commit comments