Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
glaslos committed Jul 23, 2023
1 parent ecdde0c commit 582cc99
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := v1.0.0-pre
VERSION := v1.0.0
NAME := glutton
BUILDSTRING := $(shell git log --pretty=format:'%h' -n 1)
VERSIONSTRING := $(NAME) version $(VERSION)+$(BUILDSTRING)
Expand All @@ -8,6 +8,15 @@ LDFLAGS := "-X \"main.VERSION=$(VERSIONSTRING)\" -X \"main.BUILDDATE=$(BUILDDATE

.PHONY: all test clean build

.PHONY: tag
tag:
git tag $(VERSION)
git push origin --tags

.PHONY: upx
upx:
cd bin; find . -type f -exec upx "{}" \;

default: build

build:
Expand Down

0 comments on commit 582cc99

Please sign in to comment.