Skip to content

The open source coding agent.

TypeScript

wip: github actions

Frankc3c647a21a4a
diff --git a/scripts/publish-github-action.ts b/scripts/publish-github-action.ts
index 9cfe11affa6..9d0cbb7ee3f 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