Skip to content

Commit

Permalink
fix: Remove erroneous jsr.json check. (#445)
Browse files Browse the repository at this point in the history
I ran and tested this locally now and I am very confident this should
work!
  • Loading branch information
yusinto authored Apr 23, 2024
1 parent 40c4b1f commit a04e50e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/publish-jsr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ if [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
if $LD_RELEASE_IS_DRYRUN ; then
echo "Doing a dry run of jsr publishing."
npx jsr publish --dry-run --allow-dirty || { echo "jsr publish failed" >&2; exit 1; }
elif [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
echo "Publishing to jsr."
else
echo "Publishing to jsr.."
npx jsr publish --allow-dirty || { echo "jsr publish failed" >&2; exit 1; }
echo "Successfully published to jsr."
fi
else
echo "Skipping jsr."
Expand Down

0 comments on commit a04e50e

Please sign in to comment.