slint/scripts/publish.sh
Olivier Goffart ea0de6878d Release script: add a sleep
i_slint_core compiled too fast, and the compiler was still not on
crates.io when trying to build the macro
2022-10-28 11:12:03 +02:00

21 lines
1,020 B
Bash
Executable file

#!/bin/bash -e
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
cargo publish --manifest-path internal/common/Cargo.toml
cargo publish --manifest-path internal/core-macros/Cargo.toml
sleep 15
cargo publish --manifest-path internal/compiler/Cargo.toml
cargo publish --manifest-path internal/core/Cargo.toml
sleep 15
cargo publish --manifest-path api/rs/macros/Cargo.toml
cargo publish --manifest-path internal/backends/winit/Cargo.toml --features x11,renderer-winit-femtovg
cargo publish --manifest-path api/rs/build/Cargo.toml
cargo publish --manifest-path internal/backends/qt/Cargo.toml
sleep 30
cargo publish --manifest-path internal/backends/selector/Cargo.toml --features backend-winit-x11,renderer-winit-femtovg
sleep 30
cargo publish --manifest-path internal/interpreter/Cargo.toml
cargo publish --manifest-path api/rs/slint/Cargo.toml
cargo publish --manifest-path tools/lsp/Cargo.toml
cargo publish --manifest-path tools/viewer/Cargo.toml