Skip to content

Commit 7b777db

Browse files
add relese-vsn make target
1 parent 360237e commit 7b777db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,10 @@ GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\
136136
rm -rf $$TMP_DIR ;\
137137
}
138138
endef
139+
140+
release-vsn:
141+
@read -p "Version: " tag; \
142+
git checkout master; \
143+
git pull --rebase; \
144+
git tag -a $$tag -m "new release"; \
145+
git push origin $$tag

0 commit comments

Comments
 (0)