Skip to content

Commit

Permalink
update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Aug 10, 2020
1 parent 423c5e3 commit 773b7bf
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions tools/publish.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,39 @@
# if crate A depends on crate B, B must come before A in this list
crates=(
bevy_derive
bevy_math
bevy_ecs/hecs/macros
bevy_ecs/hecs
bevy_ecs
bevy_app
bevy_property/bevy_property_derive
bevy_property
bevy_type_registry
bevy_asset
bevy_audio
bevy_core
bevy_derive
bevy_diagnostic
bevy_ecs
bevy_ecs/hecs
bevy_ecs/hecs/macros
bevy_transform
bevy_window
bevy_render
bevy_gltf
bevy_input
bevy_math
bevy_pbr
bevy_property
bevy_render
bevy_scene
bevy_sprite
bevy_text
bevy_transform
bevy_type_registry
bevy_ui
bevy_wgpu
bevy_window
bevy_winit
bevy_wgpu
)

cd crates
for crate in "${crates[@]}"
do
echo "Publishing ${crate}"
(cd $crate; cargo build)
done
(cd $crate; cargo publish)
sleep 30
done

cd ..
cargo publish

0 comments on commit 773b7bf

Please sign in to comment.