diff options
| author | Frank <[email protected]> | 2025-07-20 11:33:41 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-07-20 11:33:44 -0400 |
| commit | 0e1565449e4d89c0d7780436b2dd1d777e8447ba (patch) | |
| tree | bf6b54652ac8c3eb74b601bfb484343837221b4a /sdks/github/script | |
| parent | f9a47fe5a387bc36f74a3af30638deda3a591259 (diff) | |
| download | opencode-0e1565449e4d89c0d7780436b2dd1d777e8447ba.tar.gz opencode-0e1565449e4d89c0d7780436b2dd1d777e8447ba.zip | |
wip: vscode extension
Diffstat (limited to 'sdks/github/script')
| -rwxr-xr-x | sdks/github/script/release.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sdks/github/script/release.ts b/sdks/github/script/release.ts new file mode 100755 index 000000000..9d0cbb7ee --- /dev/null +++ b/sdks/github/script/release.ts @@ -0,0 +1,16 @@ +#!/usr/bin/env bun + +import { $ } from "bun" + +try { + await $`git tag -d github-v1` + await $`git push origin :refs/tags/github-v1` +} catch (e: any) { + if (e instanceof $.ShellError && e.stderr.toString().match(/tag \S+ not found/)) { + console.log("tag not found, continuing...") + } else { + throw e + } +} +await $`git tag -a github-v1 -m "Update github-v1 to latest"` +await $`git push origin github-v1` |
