Skip to content

Commit 7c93b3d

Browse files
change the way convert to dot (#43)
1 parent 5c7c96f commit 7c93b3d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build_release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Update Cargo.toml version
5050
run: |
5151
# Replace underscores with dots to conform to SemVer
52-
sanitized_target="${{ matrix.target//_/.}}"
52+
sanitized_target=$(echo "${{ matrix.target }}" | sed 's/_/./g')
5353
arch_version="${{ github.event.release.tag_name }}-${sanitized_target}"
5454
5555
if [[ "${{ matrix.runner }}" == "macos-latest" ]]; then
@@ -62,8 +62,6 @@ jobs:
6262
cat Cargo.toml
6363
fi
6464
65-
66-
6765
- name: Prepare for ARM64
6866
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
6967
run: |

0 commit comments

Comments
 (0)