Skip to content

Commit a04e50e

Browse files
authored
fix: Remove erroneous jsr.json check. (#445)
I ran and tested this locally now and I am very confident this should work!
1 parent 40c4b1f commit a04e50e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/publish-jsr.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ if [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
66
if $LD_RELEASE_IS_DRYRUN ; then
77
echo "Doing a dry run of jsr publishing."
88
npx jsr publish --dry-run --allow-dirty || { echo "jsr publish failed" >&2; exit 1; }
9-
elif [ -f "./$WORKSPACE_PATH/jsr.json" ]; then
10-
echo "Publishing to jsr."
9+
else
10+
echo "Publishing to jsr.."
1111
npx jsr publish --allow-dirty || { echo "jsr publish failed" >&2; exit 1; }
12+
echo "Successfully published to jsr."
1213
fi
1314
else
1415
echo "Skipping jsr."

0 commit comments

Comments
 (0)