Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions template/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
id: check_changes
run: |
# Determine if a bump is possible.
if [[ $(cog bump --auto --dry-run --config .config/cog.toml) != No* ]]; then
if [[ $(cog --config .config/cog.toml bump --auto --dry-run) != No* ]]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
echo "has_changes=false" >> $GITHUB_OUTPUT
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Create tag and update changelog
if: steps.check_changes.outputs.has_changes == 'true'
run: |
cog bump --auto --config .config/cog.toml
cog --config .config/cog.toml bump --auto

- name: Create GitHub release
id: create_release
Expand Down
Loading