Skip to content

Commit bb0d984

Browse files
committed
ci(release): publish with --no-verify to bypass yanked core2 in verify build
1 parent a02a387 commit bb0d984

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ jobs:
160160
echo " $crate@$VERSION already published — skipping"
161161
else
162162
echo " Publishing $crate@$VERSION..."
163-
cargo publish -p "$crate" --allow-dirty
163+
# --no-verify: skip the local verify build, which re-resolves
164+
# dependencies without the workspace [patch.crates-io] and fails
165+
# on the yanked core2 0.4.0 pulled transitively by jieba-rs.
166+
cargo publish -p "$crate" --allow-dirty --no-verify
164167
need_wait+=("$crate:$VERSION")
165168
fi
166169
done

0 commit comments

Comments
 (0)