diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index d3f8996..7a87533 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -61,7 +61,7 @@ The easiest way to build is with docker. Run this script to build and test locally. ```bash -bin/cargo-docker +meta/cargo-docker ``` #### Cross-Compiled Linux Build diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 872a70d..c5399ab 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -11,7 +11,7 @@ The Release process is still somewhat manual, and only works on macOS for now. 1. Ensure all changes are pushed, check that CI on the latest commit was green. You can also check this badge: ![Master CI Status](https://github.com/gibfahn/up-rs/workflows/Rust/badge.svg) -2. Run the [bin/release.sh][] script. +2. Run the [meta/release.sh][] script. 3. Go to the [GitHub Releases][] page and check everything is working properly. [CHANGELOG.md]: /CHANGELOG.md diff --git a/bin/bootstrap-test b/meta/bootstrap-test similarity index 96% rename from bin/bootstrap-test rename to meta/bootstrap-test index 7f6777c..0e0cf18 100755 --- a/bin/bootstrap-test +++ b/meta/bootstrap-test @@ -9,7 +9,7 @@ cd $project_dir set -x -bin/cargo-docker build --release +meta/cargo-docker build --release docker run -it --rm -w /root \ -v "$PWD"/target/x86_64-unknown-linux-musl/release/up:/usr/local/bin/up \ diff --git a/bin/cargo-docker b/meta/cargo-docker similarity index 100% rename from bin/cargo-docker rename to meta/cargo-docker diff --git a/bin/release b/meta/release similarity index 97% rename from bin/release rename to meta/release index 56688a2..000f6bd 100755 --- a/bin/release +++ b/meta/release @@ -72,14 +72,14 @@ main() { # Check the documentation is buildable. log_and_run cargo doc # Tests musl static Linux binaries. - log_and_run bin/cargo-docker + log_and_run meta/cargo-docker # Runs end-to-end bootstrap tests. - log_and_run bin/bootstrap-test + log_and_run meta/bootstrap-test # Build Darwin release binaries (without the CI feature). log_and_run cargo build --release # Builds musl static Linux release binaries. - log_and_run bin/cargo-docker build --release + log_and_run meta/cargo-docker build --release latest_crate_version=$(curl https://crates.io/api/v1/crates/up-rs | jq -r .crate.newest_version) if [[ $latest_crate_version == $new_version ]]; then