mirror of
https://github.com/sst/opencode.git
synced 2025-07-29 10:43:44 +00:00
wip: github actions
This commit is contained in:
parent
b79167ce66
commit
c3c647a21a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue