Dax Raad 5 months ago
parent
commit
7474788778
1 changed files with 1 additions and 2 deletions
  1. 1 2
      script/publish.ts

+ 1 - 2
script/publish.ts

@@ -96,7 +96,6 @@ if (!Script.preview) {
   await $`git tag v${Script.version}`
   await $`git fetch origin`
   await $`git cherry-pick HEAD..origin/dev`.nothrow()
-  await $`git push origin HEAD --tags --no-verify --force`
-
+  await $`git push origin HEAD --tags --no-verify --force-with-lease`
   await $`gh release create v${Script.version} --title "v${Script.version}" --notes ${notes.join("\n") ?? "No notable changes"} ./packages/opencode/dist/*.zip`
 }