Skip to content

Commit 14e660b

Browse files
committed
fix: skip already-synced Qwen releases
1 parent becf79a commit 14e660b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/sync-qwen-release.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ if [[ "$tag" != "$baseline_tag" ]]; then
7575
"refs/tags/$tag:refs/tags/$tag"
7676
fi
7777

78+
if [[ "$tag" == "$baseline_tag" ]]; then
79+
echo "Qwen Code $tag is already synced."
80+
exit 0
81+
fi
82+
7883
if [[ "$mode" == create ]]; then
7984
branch="cx/sync-qwen-$tag"
8085
worktree="$repo_root/.worktrees/openwork-qwen-$tag"
@@ -108,11 +113,6 @@ if [[ -n "$(git -C "$repo_root" status --porcelain)" ]]; then
108113
exit 1
109114
fi
110115

111-
if [[ "$tag" == "$baseline_tag" ]]; then
112-
echo "Qwen Code $tag is already synced."
113-
exit 0
114-
fi
115-
116116
git -C "$repo_root" update-ref "$state_ref" HEAD
117117
if ! git -C "$repo_root" merge-base HEAD "$tag" >/dev/null 2>&1; then
118118
git -C "$repo_root" merge --strategy=ours --no-ff \

0 commit comments

Comments
 (0)