Skip to content

Commit 04f6c0f

Browse files
committed
Consider tags from merged branches when checking for unreleased changes
1 parent 639dd90 commit 04f6c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
# Check if we can skip releasing a new version
4242
# (there are no changes and the job was not manually triggered)
43-
export CHANGED=$(cargo workspaces changed --ignore-changes "**/Cargo.toml")
43+
export CHANGED=$(cargo workspaces changed --include-merged-tags --ignore-changes "**/Cargo.toml")
4444
if [[ -z "$CHANGED" && "$GITHUB_EVENT_NAME" != "workflow_dispatch" ]]; then
4545
# Nothing has changed, so don't publish a new version
4646
exit 0

0 commit comments

Comments
 (0)