File: README.md

package info (click to toggle)
python-bumpfontversion 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 124 kB
  • sloc: python: 273; makefile: 4
file content (41 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# bumpfontversion

Version-bump your *source* font files.

This tool, patterned after the wonderful [bumpversion](https://github.com/c4urself/bump2version), allows you to update the version of your font source files, as well as create commits and tags in git.

It currently supports UFO and Glyphs format font files.

## Installation

You can download and install the latest version of this software from the Python package index (PyPI) as follows:

````
pip install --upgrade bumpfontversion
```

## Usage

For users of bump2version, please note that the interface is slightly different. You can *either* use:

```
bumpfontversion --new-version 0.5 MyFont.ufo
```

to set the version directly, or

```
bumpfontversion --part minor MyFont.glyphs # Upgrade the minor version
bumpfontversion --part major MyFont.glyphs # Upgrade the major version
```

As per bump2version, you can use `--commit` to commit the new version to git, and `--tag` to add a new git tag.

## See also

* [bumpversion](https://github.com/c4urself/bump2version)
* [font-v](https://github.com/source-foundry/font-v): Similar tool for font *binary* files

## License

[Apache license](http://www.apache.org/licenses/LICENSE-2.0)