From be61f1825bf41312b6d0e4dbc22c0e3afc832b81 Mon Sep 17 00:00:00 2001 From: Mykhailo Slyvka Date: Tue, 24 Dec 2024 15:24:46 +0200 Subject: [PATCH] fix darwin arm64 and remove `v` from tags --- .github/workflows/ci.yml | 10 +++++----- install | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6b0ed3..f7253bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,18 +86,18 @@ jobs: git fetch --tags TAG_EXISTS=$(git tag -l "v${{ steps.cargo-version.outputs.VERSION }}") if [ -n "$TAG_EXISTS" ]; then - echo "Tag v${{ steps.cargo-version.outputs.VERSION }} already exists" + echo "Tag ${{ steps.cargo-version.outputs.VERSION }} already exists" exit 1 fi - git tag v${{ steps.cargo-version.outputs.VERSION }} - git push origin v${{ steps.cargo-version.outputs.VERSION }} + git tag ${{ steps.cargo-version.outputs.VERSION }} + git push origin ${{ steps.cargo-version.outputs.VERSION }} - name: Create GitHub Release id: create_release uses: actions/create-release@v1 with: - tag_name: v${{ steps.cargo-version.outputs.VERSION }} - release_name: Release v${{ steps.cargo-version.outputs.VERSION }} + tag_name: ${{ steps.cargo-version.outputs.VERSION }} + release_name: Release ${{ steps.cargo-version.outputs.VERSION }} draft: false prerelease: false env: diff --git a/install b/install index 4d916ac..7d35049 100644 --- a/install +++ b/install @@ -75,7 +75,7 @@ main() { darwin-x86_64) gh_binary_name="core-cli-darwin-x86_64" ;; - darwin-aarch64) + darwin-arm64) gh_binary_name="core-cli-darwin-arm64" ;; windows-x86_64)