We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 855c11f commit 88b8d1dCopy full SHA for 88b8d1d
1 file changed
.github/workflows/release.yml
@@ -66,7 +66,8 @@ jobs:
66
continue-on-error: true
67
id: check_changes
68
run: |
69
- if cog check --from-latest-tag; then
+ # Determine if a bump is possible.
70
+ if [[ $(cog bump --auto --dry-run) != No* ]]; then
71
echo "has_changes=true" >> $GITHUB_OUTPUT
72
else
73
echo "has_changes=false" >> $GITHUB_OUTPUT
@@ -83,7 +84,8 @@ jobs:
83
84
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85
86
version=$(cog get-version)
- uvx git-cliff --latest --output RELEASE_NOTES.md --strip all
87
+ # Remove logging from git-cliff.
88
+ RUST_LOG='none' uvx git-cliff --latest --output RELEASE_NOTES.md --strip all
89
gh release create "${version}" \
90
--title "Release ${version}" \
91
--notes-file RELEASE_NOTES.md
0 commit comments