You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this while trying to run scripts/ci.sh on some changes that touched examples/. I believe these are the steps causing the issues:
Edit any of some of the examples under examples/ and commit
scripts/ci.sh will run scripts/sync.sh. This will then copy over the example in book to the examples in examples/ and "undo" changes in made in examples/
Now repo isn't clean so we'll hit the error Repository is not clean in scripts/publish.sh
I get the point here (we wan't to keep the book and examples/ in sync), but it took me a while to figure out that some of the scripts were editing the files under me and the error was a little opaque. Maybe we can report error message in sync.sh instead?
The text was updated successfully, but these errors were encountered:
ia0
added a commit
to ia0/wasefire
that referenced
this issue
Apr 25, 2024
Noticed this while trying to run
scripts/ci.sh
on some changes that touchedexamples/
. I believe these are the steps causing the issues:examples/
and commitscripts/ci.sh
will runscripts/sync.sh
. This will then copy over the example in book to the examples inexamples/
and "undo" changes in made inexamples/
Repository is not clean
inscripts/publish.sh
I get the point here (we wan't to keep the book and
examples/
in sync), but it took me a while to figure out that some of the scripts were editing the files under me and the error was a little opaque. Maybe we can report error message insync.sh
instead?The text was updated successfully, but these errors were encountered: