Skip to content

Commit

Permalink
fix "release" target
Browse files Browse the repository at this point in the history
  • Loading branch information
xiam committed Oct 27, 2019
1 parent 9b7333e commit 366354c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
IMAGE_VERSION ?=

docker-push:
parallel $(MAKE) -C {} docker-push ::: webapp unsafebox sandbox
parallel IMAGE_VERSION="$(IMAGE_VERSION)" $(MAKE) -C {} docker-push ::: webapp unsafebox sandbox

require-version:
@test $(IMAGE_VERSION) || (echo "missing IMAGE_VERSION" && exit 1)

release: require-version docker-push
release: require-version
git fetch --tags && \
git tag -a v$(IMAGE_VERSION) -m 'release v$(IMAGE_VERSION)' && \
git push origin v$(IMAGE_VERSION) && \
Expand Down

0 comments on commit 366354c

Please sign in to comment.