diff --git a/.github/workflows/wheels-generator.yml b/.github/workflows/wheels-generator.yml index 20e1059..a8b1821 100644 --- a/.github/workflows/wheels-generator.yml +++ b/.github/workflows/wheels-generator.yml @@ -141,7 +141,7 @@ jobs: $TORCH_VERSION_NO_DOT = $TORCH_VERSION -replace '\.', '' cd bindings/torch/dist Get-ChildItem -Name | ForEach-Object { - $new_filename = $_ -replace '1.7', "1.7+arch${{ matrix.arch }}+torch$TORCH_VERSION_NO_DOT+cuda$CUDA_VERSION_NO_DOT" + $new_filename = $_ -replace '1.7', "1.7.post{{ matrix.arch }}$TORCH_VERSION_NO_DOT$CUDA_VERSION_NO_DOT" Rename-Item -Path $_ -NewName $new_filename echo "Uploading $new_filename" gh release upload ${{ env.TINY_CUDA_NN_VERSION }} "$new_filename" --clobber --repo ${{ github.repository }} @@ -215,7 +215,7 @@ jobs: cd bindings/torch/dist for filename in *; do # Rename the file by inserting .post${{ matrix.arch }} directly after "1.7" - new_filename=$(echo "$filename" | sed "s/1.7/1.7+arch${{ matrix.arch }}+torch${{ matrix.torchversion }}+cuda${{ matrix.cudaversion }}/") + new_filename=$(echo "$filename" | sed "s/1.7/1.7.post${{ matrix.arch }}${{ matrix.torchversion }}${{ matrix.cudaversion }}/") mv "$filename" "$new_filename" echo "Uploading $new_filename" gh release upload ${{ env.TINY_CUDA_NN_VERSION }} "$new_filename" --clobber --repo ${{ github.repository }}