From 0edd950301f2cbd6c4548ac919aa91733b8586f7 Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Mon, 13 May 2024 18:50:36 +0200 Subject: [PATCH] fix(build): fix file names in Appimage uploads Signed-off-by: Luca Di Maio --- .github/workflows/release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7b988c9f1..2fb7856d9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -392,12 +392,12 @@ jobs: const releaseId = "${{ needs.create-release.outputs.release_id }}" - const assetName = "dev-pod-${{needs.create-release.outputs.package_version}}.Appimage" - const assetUploadName = "dev-pod-glibc-old-${{needs.create-release.outputs.package_version}}.Appimage" + const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}.Appimage" + const assetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}.Appimage" const assetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/${assetName}` - const tarAssetName = "dev-pod-${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" - const tarAssetUploadName = "dev-pod-glibc-old-${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" + const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" + const tarAssetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" const tarAssetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/${tarAssetName}` console.log("Attempting to upload release asset: ", assetName) @@ -437,12 +437,12 @@ jobs: const releaseId = "${{ needs.create-release.outputs.release_id }}" - const assetName = "dev-pod-${{needs.create-release.outputs.package_version}}.Appimage" - const assetUploadName = "dev-pod-glibc-new-${{needs.create-release.outputs.package_version}}.Appimage" + const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}.Appimage" + const assetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}.Appimage" const assetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/${assetName}` - const tarAssetName = "dev-pod-${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" - const tarAssetUploadName = "dev-pod-glibc-new-${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" + const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" + const tarAssetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}.Appimage.tar.gz" const tarAssetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/${tarAssetName}` console.log("Attempting to upload release asset: ", assetName)