File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -9,32 +9,6 @@ permissions:
99 contents : write
1010
1111jobs :
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
You can’t perform that action at this time.
0 commit comments