https://github.com/haunt98/bumper-go
https://github.com/haunt98/bumper-go
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/haunt98/bumper-go
- Owner: haunt98
- License: mit
- Created: 2022-11-02T16:49:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-17T02:15:33.000Z (6 months ago)
- Last Synced: 2025-04-17T15:58:32.392Z (6 months ago)
- Language: Go
- Size: 65.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bumper
[](https://github.com/haunt98/bumper-go/actions/workflows/go.yml)
[](https://github.com/haunt98/bumper-go/actions/workflows/gitleaks.yml)
[](https://github.com/haunt98/bumper-go/tags)Collection of bumping version scripts.
Because there is no 1 rule fit all.
So I made `bump00`, `bump01`, ... as time goes by.
## `bump00`
Install:
```sh
go install github.com/haunt98/bumper-go/cmd/bump00@latest
```RC mode aka default mode:
```sh
bump00
```- If latest tag is release, it will bump patch with `RC1`: `v1.2.3` ->
`v1.2.4-RC1`
- If latest tag is RC, it will only bump RC: `v1.2.4-RC1` -> `v1.2.4-RC2` ->
`v1.2.4-RC3`Release mode:
```sh
bump00 --release
```- If latest tag is release, it will bump patch: `v1.2.3` -> `v1.2.4`
- If latest tag is RC, it will only remove RC: `v1.2.4-RC1` -> `v1.2.4`You can **mixed** RC and release mode.