Skip to content

Commit ce0cf8c

Browse files
committed
binary bloat hotfix
1 parent 8a78691 commit ce0cf8c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ lint:
1111
changelog:
1212
@chglog --next-tag $(shell git describe --tags --abbrev=0)
1313

14-
release-dry-run:
14+
clean-templates:
15+
find pkg/templates -type d -name "node_modules" -exec rm -rf {} + 2>/dev/null || true
16+
find pkg/templates -type d -name ".venv" -exec rm -rf {} + 2>/dev/null || true
17+
18+
release-dry-run: clean-templates
1519
goreleaser check
1620
goreleaser healthcheck
1721
goreleaser release --snapshot --clean
1822

19-
release:
23+
release: clean-templates
2024
goreleaser release --clean
2125

22-
.PHONY: build test lint run changelog release
26+
.PHONY: build test lint run changelog release clean-templates

0 commit comments

Comments
 (0)