diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index 783a9a9..3329ded 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -26,13 +26,13 @@ jobs: include: - TARGET: x86_64-unknown-linux-gnu # tested in a debian container on a mac OS: ubuntu-latest - SHORT_NAME: amd64 - - TARGET: armv7-unknown-linux-gnueabihf # raspberry pi 2-3-4, not tested + SHORT_NAME: linux-amd64 + - TARGET: armv7-unknown-linux-gnueabihf # raspberry 32bit OS: ubuntu-latest SHORT_NAME: armv7 - - TARGET: arm-unknown-linux-gnueabihf # raspberry pi 0-1, not tested + - TARGET: aarch64-unknown-linux-gnu # raspberry 64bit OS: ubuntu-latest - SHORT_NAME: armv6 + SHORT_NAME: arm64 - TARGET: x86_64-apple-darwin # tested on a mac, is not properly signed so there are security warnings OS: macos-latest SHORT_NAME: macos diff --git a/Cargo.lock b/Cargo.lock index 6ab02ac..5955e50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "astromonitor" -version = "0.3.0" +version = "0.3.1" dependencies = [ "minreq", "structopt", diff --git a/Cargo.toml b/Cargo.toml index c9bb5d3..3a0dd69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "astromonitor" -version = "0.3.0" +version = "0.3.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/install.sh b/install.sh index b7421a6..154a490 100644 --- a/install.sh +++ b/install.sh @@ -8,13 +8,13 @@ case $OS in Linux) case $MACHINE in x86_64) - ARCH=amd64 + ARCH=linux-amd64 ;; - armv7) - ARCH=$OS; + armv7l) + ARCH=armv7 ;; - armv6) - ARCH=$OS + aarch64) + ARCH=arm64 esac ;; Darwin) @@ -29,4 +29,4 @@ esac wget https://github.com/MattBlack85/astro_monitor/releases/download/$VERSION/$PACKAGE_NAME-$ARCH-$VERSION.$EXTENSION tar -xvzf astromonitor*.tar.gz rm astromonitor*tar.gz -sudo mv astromonitor /usr/bin/ +sudo mv astromonitor /usr/local/bin/