Skip to content

Commit 4719db2

Browse files
committed
feat: fix workflow release
1 parent c8b346f commit 4719db2

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/release-to-pypi.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ jobs:
4040
4141
- name: Build package
4242
run: bash utils/build_package.sh
43-
- name: Publish to TestPyPI
44-
uses: pypa/gh-action-pypi-publish@release/v1
45-
with:
46-
repository-url: https://test.pypi.org/legacy/
47-
packages-dir: dist/
43+
44+
# - name: Publish to TestPyPI
45+
# uses: pypa/gh-action-pypi-publish@release/v1
46+
# with:
47+
# repository-url: https://test.pypi.org/legacy/
48+
# packages-dir: dist/
4849

4950
- name: Publish to PyPI
5051
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "universalpython"
7-
version = "0.1.9-b.7"
7+
version = "0.1.9b7"
88
authors = [
99
{name = "Saad Bazaz", email = "saadbazaz@hotmail.com"},
1010
]
@@ -49,13 +49,16 @@ version_toml = ["pyproject.toml:project.version"]
4949
upload_to_pypi = false
5050
tag_format = "{version}"
5151
build_command = "bash ./utils/build_package.sh"
52-
commit_parser = "conventional"
52+
commit_parser = "angular"
5353
major_on_zero = true
5454
allow_zero_version = true
5555
prerelease_token = "b"
5656
changelog_file = "./CHANGELOG.md"
5757

5858
[tool.semantic_release.commit_parser_options]
59+
allowed_tags = ["feat", "fix", "docs", "style", "refactor", "perf", "test", "build", "ci", "chore"]
60+
minor_tags = ["feat"]
61+
patch_tags = ["fix", "perf"]
5962
parse_squash_commits = true
6063
ignore_merge_commits = true
6164

0 commit comments

Comments
 (0)