https://github.com/ctrlcctrlv/bumpversion.mk
`bumpversion.mk` adds a command called `make bumpversion`
https://github.com/ctrlcctrlv/bumpversion.mk
Last synced: 3 months ago
JSON representation
`bumpversion.mk` adds a command called `make bumpversion`
- Host: GitHub
- URL: https://github.com/ctrlcctrlv/bumpversion.mk
- Owner: ctrlcctrlv
- License: apache-2.0
- Created: 2022-12-28T03:21:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T04:18:12.000Z (over 3 years ago)
- Last Synced: 2025-10-11T04:28:43.325Z (8 months ago)
- Language: Makefile
- Size: 702 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `make bumpversion` v0.1.2 โซ20221227
`bumpversion.mk` adds a command called `make bumpversion` (GNU Make
onlyโ ). When run, it gives you a four step flow:
* 
* 
* 
* 
If you don't want to use the GUI or don't have `dialog` command, you may
alternatively run one of:
* `make bumppatchversion`
* `make bumpmidversion`
* `make bumpmajorversion`
* `RELNO=beta1 make bumprelnoversion`
All of these commands have `git_` versions, which by default just print on the
console Git commands to run. If you get used enough to `make bumpversion`, you
can run them with `GITAUTOEXEC=1` in your shell's environment.
โ Also needs GNU bash as its `$SHELL`.
# Results
On first run, a file called .env is created containing:
```bash
VERSION=0.0.1
```
While a file called .version is created containing:
```
0.0.1
```
You'll have to work these into whatever build system you use. :-)
See [playsong.bash](https://github.com/ctrlcctrlv/playsong.bash) for an example
project that uses this.
Also, this README is built with `bumpversion.mk`.
# License
