mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 13:05:14 +03:00
chore: publish v1 from the v1 branch
This commit is contained in:
+2
-2
@@ -59,10 +59,10 @@ if (Script.release && !Script.preview) {
|
||||
await $`git push origin refs/tags/${tag} --force-with-lease --no-verify`
|
||||
await new Promise((resolve) => setTimeout(resolve, 5_000))
|
||||
await $`git fetch origin`
|
||||
await $`git checkout -B dev origin/dev`
|
||||
await $`git checkout -B v1 origin/v1`
|
||||
await prepareReleaseFiles()
|
||||
await $`git commit -am "sync release versions for ${tag}"`
|
||||
await $`git push origin HEAD:dev --no-verify`
|
||||
await $`git push origin HEAD:v1 --no-verify`
|
||||
}
|
||||
|
||||
if (Script.release) {
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
BUMP_TYPE=${1:-patch}
|
||||
|
||||
gh workflow run publish.yml -f bump="$BUMP_TYPE"
|
||||
gh workflow run publish.yml --ref v1 -f bump="$BUMP_TYPE"
|
||||
|
||||
Reference in New Issue
Block a user