From e5c50c3f46b04482dc4d26cc563ebe7be04c909d Mon Sep 17 00:00:00 2001 From: Egor Kovetskiy Date: Thu, 16 Apr 2020 14:18:05 +0300 Subject: [PATCH] add make release --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 34f0679..4abd5f1 100644 --- a/Makefile +++ b/Makefile @@ -38,5 +38,9 @@ push: @docker tag $(NAME):$(VERSION) $(REMOTE)/$(NAME):latest @docker push $(REMOTE)/$(NAME):latest +release: image push + git tag -f $(VERSION) + git push --tags + clean: rm -rf $(NAME)