Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Sep 8, 2023
1 parent a2d2b44 commit 5f8b54d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/publish-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env -S tea +git +gh +jq +gum +npx +deno bash -eo pipefail

# the back and forth here is because draft releases cannot trigger
# GitHub Actions 😒

if ! git diff-index --quiet HEAD --; then
echo "error: dirty working tree" >&2
exit 1
Expand Down Expand Up @@ -56,7 +59,7 @@ gh release create \

gh workflow run cd.yml -f version="$v_new"

run_id=$(gh -R teaxyz/pantry run list --json databaseId --workflow cd | jq '.[0].databaseId')
run_id=$(gh run list --json databaseId --workflow cd | jq '.[0].databaseId')

gh workflow view --web $run_id

Expand Down

0 comments on commit 5f8b54d

Please sign in to comment.