Skip to content

Commit

Permalink
fix: bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
dnitsch committed Nov 4, 2022
1 parent 31fe0bd commit 3812019
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
NAME := uistrategy
OWNER := dnitsch
VERSION := "v0.1.1"
GIT_TAG := "0.1.2"
VERSION := "v$(GIT_TAG)"
REVISION := $(shell git rev-parse --short HEAD)

LDFLAGS := -ldflags="-s -w -X \"github.com/$(OWNER)/$(NAME)/cmd/uistrategy.Version=$(VERSION)\" -X \"github.com/$(OWNER)/$(NAME)/cmd/uistrategy.Revision=$(REVISION)\" -extldflags -static"
Expand Down Expand Up @@ -28,5 +29,9 @@ build: clean install bingen

build_ci: clean install_ci bingen

tag:
git tag "v$(GIT_TAG)"
git push origin "v$(GIT_TAG)"

release:
OWNER=$(OWNER) NAME=$(NAME) PAT=$(PAT) VERSION=$(VERSION) . hack/release.sh

0 comments on commit 3812019

Please sign in to comment.