Skip to content

Commit

Permalink
Makefile adjustments for release
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Nov 16, 2021
1 parent d386019 commit 7636881
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ virtualenv: ## Create a virtual environment.
release: ## Create a new tag for release.
@echo "WARNING: This operation will create s version tag and push to github"
@read -p "Version? (provide the next x.y.z semver) : " TAG
@echo "creating git tag : $${TAG}"
@git tag $${TAG}
@echo "$${TAG}" > project_name/VERSION
@echo "v$${TAG}" > project_name/VERSION
@$(ENV_PREFIX)gitchangelog > HISTORY.md
@git add project_name/VERSION HISTORY.md
@git commit -m "release: version $${TAG} 🚀"
@git commit -m "release: version v$${TAG} 🚀"
@echo "creating git tag : v$${TAG}"
@git tag v$${TAG}
@git push -u origin HEAD --tags
@echo "Github Actions will detect the new tag and release the new version."

Expand Down

0 comments on commit 7636881

Please sign in to comment.