blob: d7318d715d638fb35e1626c3704a0550c4431bce (
plain)
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
42
43
44
45
46
47
48
|
#!/usr/local/bin/invoke /usr/bin/peak version-config
# This is a PEAK 'version' tool configuration file, that's
# also executable. PJE uses it to bump version numbers in
# the various parts of the project without having to edit them
# by hand. The current version is stored in the version.dat
# file.
# These are not the droids you're looking for. You can go on
# about your business...
<Scheme default>
DefaultFormat full
part major
part minor
part status choice alpha beta "release candidate" final
part build
part date timestamp
<Formats>
trailer remap status "a%(build)s" "b%(build)s" "c%(build)s" "%(dot-maint)s"
dot-maint optional build ".%(build)s"
full "%(major)s.%(minor)s %(status)s %(build)s"
short "%(major)s.%(minor)s%(trailer)s"
</Formats>
</Scheme>
<Module>
Name setuptools
<Edit>
File setup.py
File ez_setup.py
Match 'VERSION = "%(short)s"'
</Edit>
<Edit>
File release.sh
Match 'VERSION="%(short)s"'
</Edit>
<Edit>
File setuptools/__init__.py
Match "__version__ = '%(short)s'"
</Edit>
</Module>
|