Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #58 from HeMan/version_control
Browse files Browse the repository at this point in the history
Version control
  • Loading branch information
JimmyHedman authored Mar 2, 2020
2 parents 15f1ef8 + b0d9d0d commit 540be80
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
20 changes: 18 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
[bumpversion]
current_version = 1.2.0
current_version = 1.3.0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = prod
first_value = dev
values =
dev
prod

[bumpversion:part:build]

[bumpversion:file:setup.py]

[bumpversion:file:docs/source/conf.py]
[bumpversion:file:VERSION]

[bumpversion:file:docs/source/conf.py]
search = version: {current_version}
replace = {new_version}
2 changes: 2 additions & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

1.3.0
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "Jimmy Hedman"

# The full version, including alpha/beta/rc tags
release = "1.2.0"
release = "1.3.0"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirements.txt
black
bumpversion
bump2version
flake8
flake8-black
flask-shell-ipython
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="jobbergate",
version="1.2.0",
version="1.3.0",
author="Jimmy Hedman",
author_email="[email protected]",
description="Questionnaire application that populates Jinja2 templates with given answers.",
Expand Down

0 comments on commit 540be80

Please sign in to comment.