Bumping Versions
Example
Here, we see a very small example of how to bump versions using seal.
Below is a very basic configuration file for bumping versions.
| seal.toml | |
|---|---|
1 2 3 4 5 6 | |
If you had a README.md file like this:
| Markdown | |
|---|---|
1 | |
With this setup, you can bump the version by running:
| Bash | |
|---|---|
1 | |
Which will update your README.md file to:
| Markdown | |
|---|---|
1 | |
And update your seal.toml file to:
| TOML | |
|---|---|
1 2 3 4 5 6 | |
Other Version Files
If we were working in a Python project like this:
| my_app/__init__.py | |
|---|---|
1 | |
| pyproject.toml | |
|---|---|
1 2 3 4 5 6 | |
| seal.toml | |
|---|---|
1 2 3 4 5 6 7 | |
When you run seal bump patch, you will see the following output.
| Text Only | |
|---|---|
1 2 3 4 5 | |
Once you proceed with y, the changes will be applied.