3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3232 with :
33- tag_name : ${{ github.ref_name }}
33+ tag_name : ${{ github.ref }}
3434 release_name : ${{ github.event.inputs.release_name }}
3535 body : ${{ github.event.inputs.release_notes }}
3636 draft : ${{ github.event.inputs.release_type == 'draft' }} # not visible to the public
@@ -142,8 +142,8 @@ jobs:
142142 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
143143 with :
144144 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
145- asset_path : ./artifacts/ubuntu/tauri-python-sidecar_${{ github.ref }}_x86_x64_Linux-setup.AppImage
146- asset_name : tauri-python-sidecar_${{ github.ref }}_x86_x64_Linux-setup.AppImage
145+ asset_path : ./artifacts/ubuntu/tauri-python-sidecar_${{ github.ref_name }}_x86_x64_Linux-setup.AppImage
146+ asset_name : tauri-python-sidecar_${{ github.ref_name }}_x86_x64_Linux-setup.AppImage
147147 asset_content_type : application/octet-stream
148148
149149 - name : Upload macOS asset
@@ -153,8 +153,8 @@ jobs:
153153 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
154154 with :
155155 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
156- asset_path : ./artifacts/macos/tauri-python-sidecar_${{ github.ref }}_x86_x64_macOS-setup.dmg
157- asset_name : tauri-python-sidecar_${{ github.ref }}_x86_x64_macOS-setup.dmg
156+ asset_path : ./artifacts/macos/tauri-python-sidecar_${{ github.ref_name }}_x86_x64_macOS-setup.dmg
157+ asset_name : tauri-python-sidecar_${{ github.ref_name }}_x86_x64_macOS-setup.dmg
158158 asset_content_type : application/octet-stream
159159
160160 - name : Upload Windows asset
@@ -164,6 +164,6 @@ jobs:
164164 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
165165 with :
166166 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
167- asset_path : ./artifacts/windows/tauri-python-sidecar_${{ github.ref }}_x86_x64_Windows-setup.zip
168- asset_name : tauri-python-sidecar_${{ github.ref }}_x86_x64_Windows-setup.zip
167+ asset_path : ./artifacts/windows/tauri-python-sidecar_${{ github.ref_name }}_x86_x64_Windows-setup.zip
168+ asset_name : tauri-python-sidecar_${{ github.ref_name }}_x86_x64_Windows-setup.zip
169169 asset_content_type : application/octet-stream
0 commit comments