There was an error while loading. Please reload this page.
--config
cog
1 parent 8a6dd4d commit 1694c78Copy full SHA for 1694c78
1 file changed
template/.github/workflows/release.yml
@@ -71,7 +71,7 @@ jobs:
71
id: check_changes
72
run: |
73
# Determine if a bump is possible.
74
- if [[ $(cog bump --auto --dry-run --config .config/cog.toml) != No* ]]; then
+ if [[ $(cog --config .config/cog.toml bump --auto --dry-run) != No* ]]; then
75
echo "has_changes=true" >> $GITHUB_OUTPUT
76
else
77
echo "has_changes=false" >> $GITHUB_OUTPUT
@@ -80,7 +80,7 @@ jobs:
80
- name: Create tag and update changelog
81
if: steps.check_changes.outputs.has_changes == 'true'
82
83
- cog bump --auto --config .config/cog.toml
+ cog --config .config/cog.toml bump --auto
84
85
- name: Create GitHub release
86
id: create_release
0 commit comments