An open API service indexing awesome lists of open source software.

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`

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:

* ![](docs/flow1.png)
* ![](docs/flow2.png)
* ![](docs/flow3.png)
* ![](docs/flow4.png)

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
![###############################################################################
#๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ`bumpversion.mk`: bumpversion recipe for GNUmakefiles๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ๐Ÿฎž๐ŸฎŸ#
###############################################################################
# Copyright 2020โ€“2023 โ€”โ€”โ€”โ€”โ€”โ€”โ€” ((((((((((((((Fredrick R. Brennan)))))))))))))) #
###############################################################################
# Licensed under the Apache License, Version 2.0 (the "License"); you may not #
# use this software or any of the provided source code files except in #
# compliance with the License. You may obtain a copy of the License at:โžฆ โžฆ โžฆ โฎฏ#
###############################################################################
#๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰๐Ÿฎž๐ŸฎŸโ€‰โžฆ #
###############################################################################
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "as is" basis, without #
# warranties or conditions of any kind, either express or implied. See the #
# License for the specific language governing permissions and limitations #
# under the License. ใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œใ€œ #
###############################################################################
](docs/LICENSE.png)