File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ jobs:
4949 - name : Update Cargo.toml version
5050 run : |
5151 if [[ "${{ matrix.runner }}" == "macos-latest" ]]; then
52- sed -i '' '/\[package\]/,/^version = /s/^version = .*/version = "${{ github.event.release.tag_name }}"/' Cargo.toml
52+ sed -i '' '/\[package\]/,/^version = /s/^version = .*/version = "${{ github.event.release.tag_name }}-${{ matrix.target }} "/' Cargo.toml
5353 cat Cargo.toml
5454 fi
5555 if [[ "${{ matrix.runner }}" == "ubuntu-latest" ]]; then
56- sed -i '/\[package\]/,/^version = /s/^version = .*/version = \"${{ github.event.release.tag_name }}\"/' Cargo.toml
56+ sed -i '/\[package\]/,/^version = /s/^version = .*/version = \"${{ github.event.release.tag_name }}-${{ matrix.target }} \"/' Cargo.toml
5757 cat Cargo.toml
5858 fi
5959
You can’t perform that action at this time.
0 commit comments