Skip to content

Commit 36373f8

Browse files
committed
updated release makefile
1 parent a7bf990 commit 36373f8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
default: test
22

3+
RELEASE_DEPS=test fmt lint examples readme
4+
35
include release.mk
46

57
ALL_SOURCES := $(shell find . -type f -name '*.go')

release.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
77

88
# Release target to create a new semantic version tag
99
.PHONY: release
10-
release: fmt lint examples readme
10+
release: $(RELEASE_DEPS)
1111
# 1. Check for a clean working directory
1212
@if ! git diff --quiet; then \
1313
echo "Error: Working directory is not clean. Commit or stash changes before releasing."; \

0 commit comments

Comments
 (0)