7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-21 06:32:20 +00:00

Less verbose "make retag" command

This commit is contained in:
Régis Behmo 2019-02-18 09:57:59 +01:00
parent b05eed92d5
commit 93528d862f

View File

@ -12,10 +12,10 @@ tag: ## Create a release, update the "latest" tag and push them to origin
$(MAKE) retag TAG=latest $(MAKE) retag TAG=latest
retag: retag:
echo "=== Creating tag $(TAG)" @echo "=== Creating tag $(TAG)"
git tag -d $(TAG) || true git tag -d $(TAG) || true
git tag $(TAG) git tag $(TAG)
echo "=== Pushing tag $(TAG)" @echo "=== Pushing tag $(TAG)"
git push origin :$(TAG) || true git push origin :$(TAG) || true
git push origin $(TAG) git push origin $(TAG)