Skip to content

Commit

Permalink
fix(version): Change to python-semantic-release #60 (#62)
Browse files Browse the repository at this point in the history
* fix(version): Change to python-semantic-release #60

* Semantic Version updates were not working when a user merged an update
  into the main branch.
* The cause was a misunderstanding with the selected sem-ver package and
  its capabilities.
* Python-semantic-release has been implemented, with a config file and
  the relekang/python-semantic-release@master GitHub action.
* The setup.py, setup.cfg and sphinx conf.py files now use the
  __version__ style recommended by python-semantic-release.
* requirements_dev.txt now includes python-semantic-release for local
  checks using --noop.
* Automatic-Changelog workflows updates match semantic_release.yaml
  config files.

WIP #60

* fix(version): Typo in setup.cfg fixed #60

setup.cfg has a typo in version_variable =
setup.py:version, docs/source/conf.py:version
, docs should be ,docs

WIP #60
  • Loading branch information
imAsparky committed Sep 12, 2021
1 parent 88c55f3 commit 83d8d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -12,7 +12,7 @@ replace = version='{new_version}'

[semantic_release]
branch = main
version_variable = setup.py:__version__, docs/source/conf.py:__version__
version_variable = setup.py:__version__,docs/source/conf.py:__version__

major_on_zero = false
upload_to_pypi = false
Expand Down

0 comments on commit 83d8d06

Please sign in to comment.