Skip to content

Commit 64cb153

Browse files
committed
Release v0.1.1
1 parent f5becd7 commit 64cb153

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.DEFAULT_GOAL := help
22

3-
VERSION := $(shell git describe --abbrev=0 2>/dev/null || echo "v0.1.0-SNAPSHOT")
3+
VERSION := $(shell git describe --abbrev=0 2>/dev/null)-SNAPSHOT
44
PATH := $(PWD)/bin:$(PATH)
55
SHELL := env PATH=$(PATH) /bin/bash
66
TOOLS_DIR := hack/tools
@@ -55,4 +55,7 @@ tools: ## Install all required tools
5555

5656
.PHONY: release
5757
release: clean generate verify test ## Build and release goversion, publishing the artifacts on Github and Dockerhub.
58-
GOVERSION_LDFLAGS="$(shell goversion ldflags --print-ldflag=false --version=${VERSION} --strict)" goreleaser release --rm-dist
58+
GOVERSION_LDFLAGS="$(shell goversion ldflags --print-ldflag=false --version=${VERSION} --strict)" goreleaser release --rm-dist
59+
60+
print-%: ## Print any of the variables defined in the Makefile.
61+
@echo $($*)

0 commit comments

Comments
 (0)