From eea45a22fa3c2dad557f6ff87a824d02572a1105 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Mon, 11 Aug 2025 08:41:33 -0400 Subject: [PATCH] ci: tweak --- script/publish.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/publish.ts b/script/publish.ts index 7a1ec060..64afcf34 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -45,7 +45,9 @@ process.chdir(dir) if (!snapshot) { await $`git commit -am "release: v${version}"` await $`git tag v${version}` - await $`git push origin HEAD --tags --no-verify` + await $`git fetch origin` + await $`git cherry-pick HEAD..origin/dev`.nothrow() + await $`git push origin HEAD --tags --no-verify --force` const previous = await fetch("https://api.github.com/repos/sst/opencode/releases/latest") .then((res) => {