Skip to content

Commit

Permalink
chore: settings semantic version (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Apr 13, 2021
1 parent 3b9cb2f commit 9cdb63b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .bumplus.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version = '0.0.0'

[[files."CHANGELOG.rst"]]
search = """
`Unreleased`_
*************
"""


replace = """
`Unreleased`_
*************
`{{new_version}}`_ - {{utcnow | strftime('%Y-%m-%d')}}
**********************
"""

[[files."CHANGELOG.rst"]]
search = """
.. _`Unreleased`: https://github.com/luismayta/python-facebook-chatbot/compare/{{old_version}}...HEAD
"""
replace = """
.. _`Unreleased`: https://github.com/luismayta/python-facebook-chatbot/compare/{{new_version}}...HEAD
.. _`{{new_version}}`: https://github.com/luismayta/python-facebook-chatbot/compare/{{old_version}}...{{new_version}}
"""
4 changes: 2 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[bumpversion]
files = VERSION .bumpversion.cfg
files = VERSION .bumpversion.cfg README.rst
commit = True
tag = False
current_version = 0.0.1
current_version = 0.0.0

0 comments on commit 9cdb63b

Please sign in to comment.