Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simbo/release-version-script
A simple yet convenient bash script to create a semantic version tag and push it to the git remote.
https://github.com/simbo/release-version-script
release script semver tag version
Last synced: about 2 months ago
JSON representation
A simple yet convenient bash script to create a semantic version tag and push it to the git remote.
- Host: GitHub
- URL: https://github.com/simbo/release-version-script
- Owner: simbo
- License: mit
- Created: 2022-08-28T08:52:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T23:18:35.000Z (about 1 year ago)
- Last Synced: 2024-04-14T22:21:19.057Z (9 months ago)
- Topics: release, script, semver, tag, version
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Release Version Script
======================A simple yet convenient bash script to create a semantic version tag and push it
to the git remote.When calling for either a `major`, `minor` or `patch` update the script will
find the latest version in your git tags, create a respective new version, set
it as the tag for the current commit and push it to the remote.If your project contains a `package.json` it will be automatically updated to
the new version.It should work with Mac, Linux and Windows (with WSL).
## Usage
Run this command in your project's root directory to install the release script:
```sh
curl -o- https://raw.githubusercontent.com/simbo/release-version-script/latest/install.sh | bash
```Afterward, you can run the `./release.sh` command at any time to create and push
a new tag with semantic versioning:```sh
./release.sh UPDATE
```Allowed values for `UPDATE` are `major`, `minor` or `patch`.
## License and Author
[MIT © Simon Lepel](http://simbo.mit-license.org/)