@@ -78,45 +78,26 @@ jobs:
7878 run : |
7979 git config user.name "${{ github.actor }}"
8080 git config user.email "${{ github.actor }}@users.noreply.github.com"
81-
82- # - name: Python Semantic Release
83- # id: release
84- # uses: python-semantic-release/python-semantic-release@v9.14.0
85- # with:
86- # github_token: ${{ secrets.GH_TOKEN }}
87- # push: false
88- # commit_author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
89-
81+ - name : Python Semantic Release
82+ uses : python-semantic-release/python-semantic-release@v9.14.0
83+ with :
84+ github_token : ${{ secrets.GH_TOKEN }}
85+ push : false
9086 - name : Install GitHub CLI
9187 run : |
9288 sudo apt update
9389 sudo apt install -y gh
94-
9590 - name : Authenticate GitHub CLI
9691 env :
9792 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
9893 run : |
9994 gh auth status
100-
101-
102-
103-
104- - name : Prepare Release with Semantic Release
105- id : release
106- run : |
107- RELEASE_BRANCH="release/$(python-semantic-release version --noop)"
108- git checkout -b "$RELEASE_BRANCH"
109- python-semantic-release changelog
110- git add .
111- git commit -m "chore(release): prepare release $(python-semantic-release version --noop)"
112- git push origin "$RELEASE_BRANCH"
113-
11495 - name : Create Merge Request
11596 run : |
11697 gh pr create \
11798 --base main \
11899 --head "$RELEASE_BRANCH" \
119- --title "Release $(python-semantic-release version --noop )" \
100+ --title "Release $(python-semantic-release version)" \
120101 --body "This PR contains the release changes for version $(python-semantic-release version --noop)."
121102 # - name: Publish package distributions to PyPI
122103 # uses: pypa/gh-action-pypi-publish@v1.12.2
0 commit comments