mirror of
https://github.com/strongdm/comply
synced 2025-12-16 03:04:24 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ee63d98a7 | ||
|
|
e53e8ed03d | ||
|
|
8182b587a5 | ||
|
|
a5b2780b3c | ||
|
|
85fc120c23 |
11
Makefile
11
Makefile
@@ -59,7 +59,12 @@ cleanse:
|
|||||||
git push -f origin master
|
git push -f origin master
|
||||||
git gc --aggressive --prune=all
|
git gc --aggressive --prune=all
|
||||||
|
|
||||||
release: dist release-deps
|
release-env:
|
||||||
|
ifndef GH_LOGIN
|
||||||
|
$(error GH_LOGIN must be set to a valid GitHub token)
|
||||||
|
endif
|
||||||
|
|
||||||
|
release: release-env dist release-deps
|
||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
github-release release \
|
github-release release \
|
||||||
--security-token $$GH_LOGIN \
|
--security-token $$GH_LOGIN \
|
||||||
@@ -84,9 +89,9 @@ release: dist release-deps
|
|||||||
--name comply-$(VERSION)-linux-amd64.tgz \
|
--name comply-$(VERSION)-linux-amd64.tgz \
|
||||||
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
||||||
|
|
||||||
patch-release: patch release
|
patch-release: release-env patch release
|
||||||
|
|
||||||
minor-release: minor release
|
minor-release: release-env minor release
|
||||||
|
|
||||||
patch: clean gitsem
|
patch: clean gitsem
|
||||||
gitsem -m "increment patch for release" patch
|
gitsem -m "increment patch for release" patch
|
||||||
|
|||||||
Reference in New Issue
Block a user