mirror of
https://github.com/strongdm/comply
synced 2024-11-22 15:44:55 +00:00
invoke update in tap dir
This commit is contained in:
parent
4c55c371af
commit
cee7553319
7
Makefile
7
Makefile
@ -78,6 +78,9 @@ release-env:
|
|||||||
ifndef GH_LOGIN
|
ifndef GH_LOGIN
|
||||||
$(error GH_LOGIN must be set to a valid GitHub token)
|
$(error GH_LOGIN must be set to a valid GitHub token)
|
||||||
endif
|
endif
|
||||||
|
ifndef COMPLY_TAPDIR
|
||||||
|
$(error COMPLY_TAPDIR must be set to the path of the comply homebrew tap repo)
|
||||||
|
endif
|
||||||
|
|
||||||
release: release-env dist release-deps
|
release: release-env dist release-deps
|
||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
@ -105,9 +108,9 @@ release: release-env dist release-deps
|
|||||||
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
||||||
|
|
||||||
@echo "Update homebrew formula with the following: "
|
@echo "Update homebrew formula with the following: "
|
||||||
$(eval SHA := $(shell curl -s -L https://github.com/strongdm/comply/archive/$(VERSION).tar.gz |shasum -a 256|awk '{print $1}'))
|
$(eval SHA := $(shell curl -s -L https://github.com/strongdm/comply/archive/$(VERSION).tar.gz |shasum -a 256|cut -d" " -f1))
|
||||||
@echo "version $(VERSION) sha $(SHA)"
|
@echo "version $(VERSION) sha $(SHA)"
|
||||||
|
cd $$COMPLY_TAPDIR && ./update.sh $(VERSION) $(SHA)
|
||||||
|
|
||||||
patch-release: release-env push-assets patch release
|
patch-release: release-env push-assets patch release
|
||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
|
Loading…
Reference in New Issue
Block a user