1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

'make release' should warn if main image not yet build

This commit is contained in:
Hongli Lai (Phusion) 2013-11-12 17:55:35 +01:00
parent 91907f043c
commit 941ba8947e
No known key found for this signature in database
GPG Key ID: 06A131094B6F4332

View File

@ -12,5 +12,6 @@ tag_latest:
docker tag $(NAME):$(VERSION) $(NAME):latest docker tag $(NAME):$(VERSION) $(NAME):latest
release: tag_latest release: tag_latest
@if ! docker images phusion/baseimage | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
docker push $(NAME) docker push $(NAME)
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)" @echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"