Skip to content

Commit

Permalink
Don't use developmental status in README.rst badge
Browse files Browse the repository at this point in the history
The version in `README.rst` is used for a badge which counts how many
commits there are already since the last stable release. Since the `dev`
status marks a version as a moving target, it doesn't make sense to
compare anything against it. In other words, the latest released version
is always the one with no suffix, which is why the status suffix isn't
used when serializing the version specifier in the README.
  • Loading branch information
gnn committed Dec 11, 2018
1 parent 9da70d1 commit c78e20f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion punch_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
'serializer': '{{major}}.{{minor}}.{{patch}}{{status if status}}',
}

FILES = ['README.rst', 'docs/conf.py', 'setup.py',
FILES = [{ 'path': 'README.rst',
'serializer': '{{major}}.{{minor}}.{{patch}}'},
'docs/conf.py', 'setup.py',
'src/oemof/tabular/__init__.py']

VERSION = ['major', 'minor', 'patch',
Expand Down

0 comments on commit c78e20f

Please sign in to comment.