Skip to content

Commit cc24a4d

Browse files
committed
remove version update code to allow version updates be done by release-please
1 parent 99f5a80 commit cc24a4d

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,32 +9,6 @@ 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 "Update version"
35-
git push origin ${{ github.ref }}
36-
37-
3812
build:
3913
needs: [version]
4014
uses: ./.github/workflows/build.yml

0 commit comments

Comments
 (0)