We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7bf990 commit 36373f8Copy full SHA for 36373f8
2 files changed
Makefile
@@ -1,5 +1,7 @@
1
default: test
2
3
+RELEASE_DEPS=test fmt lint examples readme
4
+
5
include release.mk
6
7
ALL_SOURCES := $(shell find . -type f -name '*.go')
release.mk
@@ -7,7 +7,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
8
# Release target to create a new semantic version tag
9
.PHONY: release
10
-release: fmt lint examples readme
+release: $(RELEASE_DEPS)
11
# 1. Check for a clean working directory
12
@if ! git diff --quiet; then \
13
echo "Error: Working directory is not clean. Commit or stash changes before releasing."; \
0 commit comments