Skip to content

Commit beb70f0

Browse files
authored
Fix yalc publish (#2054)
Yalc Publish has been failing since [Sep 29th](e4a9a64). Here's the fix. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved build script artifact detection to more reliably recognize prebuilt artifacts and to adjust when a build is skipped or retried, reducing false negatives during automated builds and improving overall build consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 51ba058 commit beb70f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package-scripts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ scripts:
2525
# 3. Check if the project is built now;
2626
# 4. If it failed, print an error message (still follow https://docs.npmjs.com/cli/v8/using-npm/scripts#best-practices).
2727
script: >
28-
[ -f packages/react-on-rails/lib/ReactOnRails.full.js ] ||
28+
[ -f lib/ReactOnRails.full.js ] ||
2929
(npm run build >/dev/null 2>&1 || true) &&
30-
[ -f packages/react-on-rails/lib/ReactOnRails.full.js ] ||
30+
[ -f lib/ReactOnRails.full.js ] ||
3131
{ echo 'Building react-on-rails seems to have failed!'; }
3232
3333
format:

0 commit comments

Comments
 (0)