File tree Expand file tree Collapse file tree 3 files changed +26
-37
lines changed
Expand file tree Collapse file tree 3 files changed +26
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8989 git tag -a "v$VERSION" -m "Release v$VERSION"
9090 git push origin "v$VERSION"
9191
92- - name : Trigger Release Workflow
92+ - name : Check for cliff.toml
9393 if : steps.check.outputs.exists == 'false'
94+ id : check-cliff
9495 run : |
95- gh workflow run git-cliff.yml
96+ if [ -f .github/cliff.toml ]; then
97+ echo "has_cliff=true" >> $GITHUB_OUTPUT
98+ else
99+ echo "has_cliff=false" >> $GITHUB_OUTPUT
100+ fi
101+
102+ - name : Generate Changelog
103+ if : steps.check.outputs.exists == 'false' && steps.check-cliff.outputs.has_cliff == 'true'
104+ id : git-cliff
105+ uses : orhun/git-cliff-action@v4
106+ with :
107+ config : .github/cliff.toml
108+ args : --latest
109+ env :
110+ OUTPUT : CHANGELOG.md
111+ GITHUB_REPO : ${{ github.repository }}
112+
113+ - name : Create GitHub Release
114+ if : steps.check.outputs.exists == 'false' && steps.check-cliff.outputs.has_cliff == 'true'
115+ uses : softprops/action-gh-release@v2
116+ with :
117+ tag_name : v${{ steps.check.outputs.version }}
118+ body : ${{ steps.git-cliff.outputs.content }}
Original file line number Diff line number Diff line change 11[project ]
22name = " namecheap-python"
3- version = " 1.0.2 "
3+ version = " 1.0.3 "
44description = " A friendly Python SDK for Namecheap API"
55authors = [{name = " Adrian Galilea Delgado" , email = " adriangalilea@gmail.com" }]
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments