We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 313b6e9 commit c4df49bCopy full SHA for c4df49b
1 file changed
.github/workflows/release.yml
@@ -28,13 +28,21 @@ jobs:
28
fetch-depth: 0
29
ref: ${{ github.ref_name }}
30
31
+ - name: Force branch to workflow SHA
32
+ run: git reset --hard ${{ github.sha }}
33
+
34
- name: Python Semantic Release
35
id: release
- uses: python-semantic-release/python-semantic-release@v9.15.2
36
+ uses: python-semantic-release/python-semantic-release@v10.5.2
37
+ with:
38
+ github_token: ${{ secrets.GITHUB_TOKEN }}
39
40
+ - name: Publish to GitHub Release
41
+ uses: python-semantic-release/publish-action@v10.5.2
42
+ if: steps.release.outputs.released == 'true'
43
with:
44
github_token: ${{ secrets.GITHUB_TOKEN }}
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+ tag: ${{ steps.release.outputs.tag }}
46
47
docker:
48
needs: release
0 commit comments