Compare commits
1 Commits
1908f27952
...
27da21cfab
| Author | SHA1 | Date | |
|---|---|---|---|
| 27da21cfab |
5
Makefile
5
Makefile
@ -82,10 +82,9 @@ $(DIRS):
|
|||||||
export GIT_COMMIT=$(GIT_COMMIT) && \
|
export GIT_COMMIT=$(GIT_COMMIT) && \
|
||||||
export GIT_BRANCH=$(GIT_BRANCH) && \
|
export GIT_BRANCH=$(GIT_BRANCH) && \
|
||||||
echo "Starting packer init for $@" && \
|
echo "Starting packer init for $@" && \
|
||||||
packer -version && \
|
/usr/bin/packer init . && \
|
||||||
packer init . && \
|
|
||||||
echo "Starting packer build for $@" && \
|
echo "Starting packer build for $@" && \
|
||||||
packer build -debug . )
|
/usr/bin/packer build -debug . )
|
||||||
|
|
||||||
# Update build timestamp and date in Consul if on master branch
|
# Update build timestamp and date in Consul if on master branch
|
||||||
if [ "$(GIT_BRANCH)" = "master" ]; then \
|
if [ "$(GIT_BRANCH)" = "master" ]; then \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user