chore: work save
This commit is contained in:
parent
979220be66
commit
2abd4e2c72
4 changed files with 25 additions and 9 deletions
9
Makefile
9
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
ROOT_DIR ?= $(shell git rev-parse --show-toplevel)
|
||||
SCRIPTS_BASE ?= $(ROOT_DIR)/scripts
|
||||
VERSION ?= ${VER}
|
||||
|
||||
# SETUP AND TOOL INITIALIZATION TASKS
|
||||
project-help:
|
||||
|
|
@ -57,3 +58,11 @@ test-acceptance-tf:
|
|||
TF_ACC_REGION=$(TF_ACC_REGION) \
|
||||
go test ./... -count=1 -timeout=30m && \
|
||||
cd $(ROOT_DIR)
|
||||
|
||||
publish: build
|
||||
ifeq ($(strip $(VERSION)),)
|
||||
@echo "please call like this: VER=0.1.0 make publish"
|
||||
else
|
||||
@echo "version: $(VERSION)"
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue