We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5172f25 commit 09c05fbCopy full SHA for 09c05fb
1 file changed
Makefile
@@ -1,8 +1,11 @@
1
+GIT := git
2
PRE_COMMIT := pre-commit
3
4
JSONNET_VERSION := v0.18.0
5
GOLANGCI_VERSION := v1.46.2
6
7
+VERSION := v0.2.0
8
+
9
.PHONY: fmt
10
fmt:
11
@go fmt ./...
@@ -20,6 +23,12 @@ run:
20
23
$(PRE_COMMIT) autoupdate
21
24
$(PRE_COMMIT) run --all-files
22
25
26
+.PHONY: release
27
+release:
28
+ @$(GIT) fetch --tags --prune
29
+ @$(GIT) tag --sign -m "GPG signed $(VERSION) tag" $(VERSION)
30
+ @$(GIT) push --tags
31
32
.PHONY: setup
33
setup:
34
@go install github.com/google/go-jsonnet/cmd/jsonnet-lint@$(JSONNET_VERSION)
0 commit comments