From 34c2becbbc1d8f42ee1a6679a7ca8e342eb0a3d9 Mon Sep 17 00:00:00 2001 From: Michael Kreil Date: Mon, 20 Feb 2023 14:22:20 +0100 Subject: [PATCH] cleanup release script --- bin/release.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/bin/release.sh b/bin/release.sh index 41a2a715..cc1d4b41 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -25,9 +25,10 @@ if [ "$(git status --porcelain)" ]; then exit 1 fi +# push git push -# publish +# publish to crates.io cargo publish --no-verify # get version @@ -39,22 +40,3 @@ git push origin "v$version" # github create release gh release create "v$version" --title "v$version" --notes "new release: v$version" - -# https://doc.rust-lang.org/nightly/rustc/platform-support.html - -# mkdir "releases" - -function release() { - target=$1 - cargo build --release --target $target - mv "target/$target/release/versatiles" "releases/versatiles-$target" -} - -# release "aarch64-unknown-linux-gnu" # ARM64 Linux (kernel 4.1, glibc 2.17+) -# release "i686-pc-windows-gnu" # 32-bit MinGW (Windows 7+) -# release "i686-pc-windows-msvc" # 32-bit MSVC (Windows 7+) -# release "i686-unknown-linux-gnu" # 32-bit Linux (kernel 3.2+, glibc 2.17+) -# release "x86_64-apple-darwin" # 64-bit macOS (10.7+, Lion+) -# release "x86_64-pc-windows-gnu" # 64-bit MinGW (Windows 7+) -# release "x86_64-pc-windows-msvc" # 64-bit MSVC (Windows 7+) -# release "x86_64-unknown-linux-gnu" # 64-bit Linux (kernel 3.2+, glibc 2.17+)