Skip to content

Commit

Permalink
Update python-semantic-release config settings. (tektronix#21)
Browse files Browse the repository at this point in the history
* ci: Update python-semantic-release config settings.

* fix: Update workflow to remove typo in created version.
Signed-off-by: v12ganesh [email protected]
  • Loading branch information
nfelt14 authored Oct 5, 2023
1 parent 440dee9 commit 160f126
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
changelog: 'false'
commit: 'false'
vcs_release: 'false'
build_metadata: ${{ env.VERSION }})
build_metadata: ${{ env.VERSION }}
- uses: hynek/[email protected]
- name: Upload package to Test PyPI
uses: pypa/[email protected]
Expand Down
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ and credit will always be given.

## Commit Guidelines

This project uses
[`python-semantic-release`](https://python-semantic-release.readthedocs.io/en/latest/index.html)
to help automatically bump its version.

- Commit messages should follow the
[Angular style](https://python-semantic-release.readthedocs.io/en/latest/commit-parsing.html#semantic-release-commit-parser-angularcommitparser).

Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ version_toml = [
"pyproject.toml:tool.poetry.version"
]

[tool.semantic_release.commit_parser_options]
# These settings allow python-semantic-release to be used without triggering on any commits
allowed_tags = []
minor_tags = []
patch_tags = []

[tool.tomlsort]
all = true
in_place = true
Expand Down

0 comments on commit 160f126

Please sign in to comment.