From 7c93b3d9ffc0108857b43bdefab954a813964b8f Mon Sep 17 00:00:00 2001 From: Eli Moshkovich Date: Tue, 8 Oct 2024 12:22:55 -0700 Subject: [PATCH] change the way convert to dot (#43) --- .github/workflows/build_release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 43f0739..0effc58 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -49,7 +49,7 @@ jobs: - name: Update Cargo.toml version run: | # Replace underscores with dots to conform to SemVer - sanitized_target="${{ matrix.target//_/.}}" + sanitized_target=$(echo "${{ matrix.target }}" | sed 's/_/./g') arch_version="${{ github.event.release.tag_name }}-${sanitized_target}" if [[ "${{ matrix.runner }}" == "macos-latest" ]]; then @@ -62,8 +62,6 @@ jobs: cat Cargo.toml fi - - - name: Prepare for ARM64 if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }} run: |