Push to repo as part of "make release"

This commit is contained in:
Régis Behmo 2020-06-21 13:47:14 +02:00
parent cdf6b7e315
commit 77150c0424
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ upgrade-requirements: ## Upgrade requirements files
pip-compile --upgrade requirements/base.in
pip-compile --upgrade requirements/dev.in
pip-compile --upgrade requirements/docs.in
package: ## Build a package ready to upload to pypi
python3 setup.py sdist
@ -57,10 +57,12 @@ retag:
git tag $(TAG)
release-origin:
@echo "=== Pushing tag $(TAG) to origin"
git push origin
git push origin :$(TAG) || true
git push origin $(TAG)
release-overhangio:
@echo "=== Pushing tag $(TAG) to overhangio"
git push overhangio
git push overhangio :$(TAG) || true
git push overhangio $(TAG)