File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: CI & Release
33on :
44 push :
55 branches :
6- - master
6+ - master
77
88jobs :
99 test :
@@ -44,14 +44,10 @@ jobs:
4444 version=$(grep -m1 '^version =' pyproject.toml | cut -d'"' -f2)
4545 echo "version=$version" >> "$GITHUB_OUTPUT"
4646
47- - name : Configure Git for pushing tags
47+ - name : Create Git tag
4848 run : |
4949 git config user.name "GitHub Actions"
5050 git config user.email "actions@github.com"
51- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
52-
53- - name : Create and push tag
54- run : |
5551 git tag "v${{ steps.get_version.outputs.version }}"
5652 git push origin "v${{ steps.get_version.outputs.version }}"
5753
6359 generate_release_notes : true
6460 env :
6561 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62+
You can’t perform that action at this time.
0 commit comments