Skip to content

Commit c4aa0e0

Browse files
committed
Attempted release fix v2
1 parent 7a2e424 commit c4aa0e0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515

1616
- id: get-version
1717
run: bun repl -e "console.log('version=' + require('./package.json').version)" >> "$GITHUB_OUTPUT"
18+
19+
- run: gh release view ${{ steps.get-version.outputs.VERSION }} --json tagName
1820

1921
- id: is-released
2022
run: |
21-
if gh release view ${{ steps.get-version.outputs.VERSION }} &> /dev/null ; then
23+
if gh release view ${{ steps.get-version.outputs.VERSION }} --json tagName > /dev/null 2>&1; then
2224
echo "released=true" >> "$GITHUB_OUTPUT"
2325
else
2426
echo "released=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)