Skip to content

Commit

Permalink
Add version config to git
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek committed Jun 11, 2018
1 parent 7b2b74d commit ec874d0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GIT:
AUTO_COMMIT: true
AUTO_TAG: true
AUTO_PUSH: true # false=disabled, true=enabled, 'remote_name'=enabled and push to remote_name
COMMIT_MESSAGE: 'New version {version}'

REGEXPS:
'python': __version__\s*=\s*\'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\'
'setup.py': version\s*=\s*\'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\'
'PKGBUILD': pkgver\s*=\s*(?P<version>.*)

VERSION_FILES:
'blacklist/__init__.py': 'python'
'setup.py': 'setup.py'
'archlinux/PKGBUILD': 'PKGBUILD'

0 comments on commit ec874d0

Please sign in to comment.