Skip to content

Commit 5a5cb42

Browse files
committed
update publish configurations, remove versioning code
1 parent 15edd43 commit 5a5cb42

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,7 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
version:
13-
name: Update version
14-
runs-on: ubuntu-latest
15-
if: startsWith(github.ref, 'refs/tags/v')
16-
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v4
19-
- name: Set up Python
20-
uses: actions/setup-python@v5
21-
with:
22-
python-version: 3.12
23-
- name: Install poetry
24-
run: |
25-
pip install --upgrade poetry
26-
- name: Update version
27-
run: |
28-
VERSION=${GITHUB_REF#refs/tags/v}
29-
poetry version $VERSION
30-
- name: Commit changes
31-
run: |
32-
git config --local user.email "${{ secrets.GIT_USER_EMAIL }}"
33-
git config --local user.name "${{ secrets.GIT_USER_NAME }}"
34-
git commit -am "chore: Update version"
35-
git push origin ${{ github.ref }}
36-
3712
build:
38-
needs: [version]
3913
uses: ./.github/workflows/build.yml
4014

4115
publish:

0 commit comments

Comments
 (0)