Skip to content

Commit

Permalink
fix(build): fix file names in Appimage uploads
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed May 13, 2024
1 parent f117514 commit 3ce4da5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Appimage Assets (glibc old)
- name: Upload AppImage Assets (glibc old)
if: matrix.settings.host == 'ubuntu-20.04' && matrix.settings.cli_only == false
uses: actions/github-script@v6
with:
Expand All @@ -392,12 +392,12 @@ jobs:
const releaseId = "${{ needs.create-release.outputs.release_id }}"
const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.Appimage"
const assetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}_amd64.Appimage"
const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.AppImage"
const assetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}_amd64.AppImage"
const assetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/appimage/${assetName}`
const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.Appimage.tar.gz"
const tarAssetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}_amd64.Appimage.tar.gz"
const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.AppImage.tar.gz"
const tarAssetUploadName = "dev-pod-glibc-old_${{needs.create-release.outputs.package_version}}_amd64.AppImage.tar.gz"
const tarAssetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/appimage/${tarAssetName}`
console.log("Attempting to upload release asset: ", assetName)
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Appimage Assets (glibc new)
- name: Upload AppImage Assets (glibc new)
if: matrix.settings.host == 'ubuntu-22.04' && matrix.settings.cli_only == false
uses: actions/github-script@v6
with:
Expand All @@ -437,12 +437,12 @@ jobs:
const releaseId = "${{ needs.create-release.outputs.release_id }}"
const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.Appimage"
const assetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}_amd64.Appimage"
const assetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.AppImage"
const assetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}_amd64.AppImage"
const assetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/appimage/${assetName}`
const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.Appimage.tar.gz"
const tarAssetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}_amd64.Appimage.tar.gz"
const tarAssetName = "dev-pod_${{needs.create-release.outputs.package_version}}_amd64.AppImage.tar.gz"
const tarAssetUploadName = "dev-pod-glibc-new_${{needs.create-release.outputs.package_version}}_amd64.AppImage.tar.gz"
const tarAssetPath = `desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/appimage/${tarAssetName}`
console.log("Attempting to upload release asset: ", assetName)
Expand Down

0 comments on commit 3ce4da5

Please sign in to comment.