summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-07-16 16:20:06 +0800
committerFrank <[email protected]>2025-07-16 16:20:06 +0800
commitc3c647a21a4a04cb80dd90cbc0d78b180584e096 (patch)
treeb621e2757a223606a6dd22c96674fce7674b32bd /scripts
parentb79167ce66a0a43fe16958461d1cfdb121eb8242 (diff)
downloadopencode-c3c647a21a4a04cb80dd90cbc0d78b180584e096.tar.gz
opencode-c3c647a21a4a04cb80dd90cbc0d78b180584e096.zip
wip: github actions
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/publish-github-action.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/publish-github-action.ts b/scripts/publish-github-action.ts
index 9cfe11aff..9d0cbb7ee 100755
--- a/scripts/publish-github-action.ts
+++ b/scripts/publish-github-action.ts
@@ -1,12 +1,12 @@
#!/usr/bin/env bun
-import { $, ShellError } from "bun"
+import { $ } from "bun"
try {
await $`git tag -d github-v1`
await $`git push origin :refs/tags/github-v1`
-} catch (e) {
- if (e instanceof ShellError && e.stderr.toString().match(/tag \S+ not found/)) {
+} catch (e: any) {
+ if (e instanceof $.ShellError && e.stderr.toString().match(/tag \S+ not found/)) {
console.log("tag not found, continuing...")
} else {
throw e