Skip to content

Commit

Permalink
Makefile escape # pound char (#56)
Browse files Browse the repository at this point in the history
* # needs to be escaped in make

* set relase
  • Loading branch information
basejump authored Jul 21, 2022
1 parent 88facff commit 9c9daa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion makefiles/vault.make
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ endif

ifneq ($(wildcard $(VAULT_BOT_ENV_FILE)),)
include $(VAULT_BOT_ENV_FILE)
VAULT_ENV_VARS := $(shell sed '/^#.*/d; /^$$/d; s/=.*//g;' $(VAULT_BOT_ENV_FILE))
# $ need to be escaped with another $ and # need to be escaped with a normal \
cmd = sed '/^\#.*/d; /^$$/d; s/=.*//g;' $(VAULT_BOT_ENV_FILE)
VAULT_ENV_VARS := $(shell $(cmd))
# $(info including $(VAULT_ENV_VARS) from $(VAULT_ENV_FILE))
export $(VAULT_ENV_VARS)
endif
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publishedVersion=2.0.4
# when this is false will append -SNAPSHOT to version and if on publishable branch will 'publish' to snapshotUrl
# when true IS_RELEASEBALE will be set and will go through full release process cycle to
# automatically bump version and push a v tag to github
release=false
release=true

0 comments on commit 9c9daa2

Please sign in to comment.