Skip to content

Commit

Permalink
Merge pull request #19 from Pylons/fix-docs-version-git-tag-command
Browse files Browse the repository at this point in the history
Fix docs version git tag command
  • Loading branch information
stevepiercy committed Aug 24, 2018
2 parents dabbe36 + 564d00c commit e2dd963
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASING.txt
Expand Up @@ -78,7 +78,7 @@ Make the release

- Create a release tag with a "standard" commit message::

$ git commit . -m "Tag #.#.# release."
$ git tag -a #.#.# -m "Tag #.#.# release"

- Push the tag to upstream.

Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Expand Up @@ -12,8 +12,9 @@
# All configuration values have a default value; values that are commented
# out serve to show the default value.

import pylons_sphinx_themes
import datetime
import pkg_resources
import pylons_sphinx_themes


html_theme_path = pylons_sphinx_themes.get_html_themes_path()
Expand Down Expand Up @@ -56,7 +57,7 @@
# other places throughout the built documents.
#
# The short X.Y version.
version = '0.5'
version = pkg_resources.get_distribution('peppercorn').version
# The full version, including alpha/beta/rc tags.
release = version

Expand Down

0 comments on commit e2dd963

Please sign in to comment.