Skip to content

Commit

Permalink
Always use scripts directory from main
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon authored Oct 13, 2024
1 parent eb8cb3c commit ce48613
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ function generate_docs_for_version {
rm -rf $tmp_flame_src/doc/_sphinx
cp -r $tmp_stash/_sphinx $tmp_flame_src/doc/
cp -r $tmp_stash/melos.yaml $tmp_flame_src/
# Since the scripts used in melos.yaml are the scripts from main we have to
# replace the script directory with the newest one.
rm -rf $tmp_flame_src/scripts
cp -r $tmp_stash/scripts $tmp_flame_src
# This is a very fragile work around for the fact that older versions don't
# have a pubspec.yaml in the root which is required by Melos 3.
cp -r $tmp_stash/pubspec.yaml $tmp_flame_src/
Expand Down

0 comments on commit ce48613

Please sign in to comment.