From 5f664560b165f6e665c3f0e121a7dd41dbe20587 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 12 Aug 2026 13:28:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20place=20`--config`=20befo?= =?UTF-8?q?re=20command=20with=20`cog`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/.github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 209c15a..9f75cbd 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -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 @@ -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