Skip to content

Commit

Permalink
chore(version): Add workflow_dispatch #60 (#64)
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

* fix(version): change to chk_bld_stat false #60

python-semantic-release was failing due to check_build_status = true.
False is the default setting.

WIP #60

* chore(version): Add workflow_dispatch #60

Manually running Semantic Release workflow was not possible.

WIP #60
  • Loading branch information
imAsparky committed Sep 12, 2021
1 parent cc63fa9 commit 1df725e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/semantic_release.yaml
Expand Up @@ -6,6 +6,8 @@ on:
- main
types: [closed]

workflow_dispatch:

jobs:
release:
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit 1df725e

Please sign in to comment.