Former-commit-id:2b462d8665
[formerly133dc97f67
] [formerlya02aeb236c
] [formerlya02aeb236c
[formerly9f19e3f712
]] [formerly2b462d8665
[formerly133dc97f67
] [formerlya02aeb236c
] [formerlya02aeb236c
[formerly9f19e3f712
]] [formerly06a8b51d6d
[formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]]] Former-commit-id:06a8b51d6d
Former-commit-id:2c3569dd39
[formerly9bb8decbcf
] [formerly8e80217e59
] [formerlye2ecdcfe33
[formerly377dcd10b9
] [formerly8e80217e59
[formerly3360eb6c5f
]]] Former-commit-id:e2ecdcfe33
[formerly377dcd10b9
] Former-commit-id:e2ecdcfe33
Former-commit-id:7dbd17a5aa
48 lines
1.1 KiB
Text
Executable file
48 lines
1.1 KiB
Text
Executable file
#!/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>
|
|
|