Skip to content

Commit 0e72512

Browse files
version
1 parent 19f58e6 commit 0e72512

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/CD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Python Semantic Release
14-
uses: python-semantic-release/python-semantic-release@v7.34.6
14+
uses: python-semantic-release/python-semantic-release@master
1515
with:
1616
github_token: ${{ secrets.GITHUB_TOKEN }}
1717
- name: Build

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ classifiers = [
2626
[tool.setuptools.dynamic]
2727
dependencies = {file = ["requirements.txt"]}
2828

29+
[tool.semantic_release]
30+
version_toml = [
31+
"pyproject.toml:project.version",
32+
]
33+
2934
[tool.semantic_release.remote.token]
3035
env = "GH_TOKEN"
3136

@@ -36,3 +41,6 @@ prerelease = false
3641

3742
[tool.semantic_release.branches.next]
3843
match = "next"
44+
version_source = "commit"
45+
prerelease_tag = "rc"
46+
prerelease = true

0 commit comments

Comments
 (0)