From a656ddb8f5daaa1289209ec4ad5ce80287cbf07d Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Thu, 18 Oct 2018 18:10:59 +0200 Subject: [PATCH] refine tagging a bit Signed-off-by: Felix Bartels --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2b74d90..21571e2 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ tag: docker tag $(docker_repo)/kopano_$(component) $(docker_repo)/kopano_$(component):${$(component)_version} @echo 'create tag latest' docker tag $(docker_repo)/kopano_$(component) $(docker_repo)/kopano_$(component):latest + git commit -m 'ci: committing changes for $(component)' -- $(component) git tag $(component)/${$(component)_version} || true tag-base: @@ -43,14 +44,11 @@ tag-core: tag-webapp: component=webapp make tag -git-commit: - git add -A && git commit -m "ci: commit changes before tagging" - # Docker publish repo-login: docker login -u $(docker_login) -p $(docker_pwd) -publish: git-commit repo-login publish-base publish-core publish-webapp +publish: repo-login publish-base publish-core publish-webapp git push git push origin --tags