From 27977ef53a1b1b8e18c92f4bf0011b8079385432 Mon Sep 17 00:00:00 2001 From: cophilot Date: Thu, 28 Mar 2024 23:09:31 +0100 Subject: [PATCH] v1.0.0 - minor changes --- .github/workflows/on_release.yml | 6 +++--- install | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/on_release.yml b/.github/workflows/on_release.yml index af8fab7..c7fbcad 100644 --- a/.github/workflows/on_release.yml +++ b/.github/workflows/on_release.yml @@ -16,7 +16,7 @@ jobs: upload-release: runs-on: ubuntu-latest - needs: [build-linux, build-windows, macos-linux] + needs: [build-linux, build-windows, build-macos] steps: - uses: actions/checkout@v2 with: @@ -64,7 +64,7 @@ jobs: name: uploads path: tpy-linux - macos-linux: + build-macos: runs-on: macos-latest needs: [quality-check] steps: @@ -72,7 +72,7 @@ jobs: with: ref: master - - name: Build for linux + - name: Build for macOS run: cargo build --release - name: Rename binary diff --git a/install b/install index 48d7216..bb5307b 100755 --- a/install +++ b/install @@ -27,10 +27,10 @@ fi if [[ $version == v* ]]; then version=${version:1} - if [[ $version == 0.* ]]; then - echo "Error: Version $version is not supported" - exit 1 - fi +fi +if [[ $version == 0.* ]]; then + echo "Error: Version $version is not supported" + exit 1 fi if [ "$macOS" = true ]; then