https://github.com/sanusart/git-release-and-tag
git Release and tag python3 script
https://github.com/sanusart/git-release-and-tag
git release tagging version-control
Last synced: 2 months ago
JSON representation
git Release and tag python3 script
- Host: GitHub
- URL: https://github.com/sanusart/git-release-and-tag
- Owner: sanusart
- License: mit
- Created: 2017-04-18T23:26:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T23:28:10.000Z (about 9 years ago)
- Last Synced: 2025-04-04T15:52:24.560Z (over 1 year ago)
- Topics: git, release, tagging, version-control
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git Release and tag script
A generic flow to release a repository
### Usage
create file `package.json` with at least following content `{"version":"1.2.3"}`
Run from command line `python release.py 1.2.3` (where _1.2.3_ is a desired version and git tag number)
### What it does
- Update "version" number in `package.json` file
- Update version number in `VERSION` file (will create if not exists)
- Tag a commit with version
- Push the commit to git with new tag
:)