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 ecdde0c commit 582cc99Copy full SHA for 582cc99
Makefile
@@ -1,4 +1,4 @@
1
-VERSION := v1.0.0-pre
+VERSION := v1.0.0
2
NAME := glutton
3
BUILDSTRING := $(shell git log --pretty=format:'%h' -n 1)
4
VERSIONSTRING := $(NAME) version $(VERSION)+$(BUILDSTRING)
@@ -8,6 +8,15 @@ LDFLAGS := "-X \"main.VERSION=$(VERSIONSTRING)\" -X \"main.BUILDDATE=$(BUILDDATE
8
9
.PHONY: all test clean build
10
11
+.PHONY: tag
12
+tag:
13
+ git tag $(VERSION)
14
+ git push origin --tags
15
+
16
+.PHONY: upx
17
+upx:
18
+ cd bin; find . -type f -exec upx "{}" \;
19
20
default: build
21
22
build:
0 commit comments