Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Commit 2b9971e

Browse files
saltisgoodNicholas Stephen
andauthored
Fix version pushed to PyPI (#14)
Co-authored-by: Nicholas Stephen <git@nick-stephen.com>
1 parent 3b55b1c commit 2b9971e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ virtualenv: ## Create a virtual environment.
7878
release: ## Create a new tag for release.
7979
@echo "WARNING: This operation will create s version tag and push to github"
8080
@read -p "Version? (provide the next x.y.z semver) : " TAG
81-
@echo "creating git tag : $${TAG}"
82-
@git tag $${TAG}
8381
@echo "$${TAG}" > project_name/VERSION
8482
@$(ENV_PREFIX)gitchangelog > HISTORY.md
8583
@git add project_name/VERSION HISTORY.md
8684
@git commit -m "release: version $${TAG} 🚀"
85+
@echo "creating git tag : $${TAG}"
86+
@git tag $${TAG}
8787
@git push -u origin HEAD --tags
8888
@echo "Github Actions will detect the new tag and release the new version."
8989

0 commit comments

Comments
 (0)