Skip to content

Commit

Permalink
fix(Makefile): update the expression to trim 'v' from tag
Browse files Browse the repository at this point in the history
commit update the trim expression in Makefile which is failing
with the error unterminated variable reference due to error
in parsing expression

Similar logic works in bash script but not in Makefiles

Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and kmova committed May 8, 2020
1 parent 5303f2c commit 20b6d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ifeq (${TRAVIS_TAG}, )
BASE_TAG = ci
export BASE_TAG
else
BASE_TAG = ${TRAVIS_TAG#v}
BASE_TAG = $(TRAVIS_TAG:v%=%)
export BASE_TAG
endif

Expand Down

0 comments on commit 20b6d3a

Please sign in to comment.