From 42133cd3eabd910dbc953c440951e658099e1334 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:30:14 +0000 Subject: [PATCH 1/7] add updateVersion.js --- updateVersion.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 updateVersion.js diff --git a/updateVersion.js b/updateVersion.js new file mode 100644 index 000000000..a5f02da43 --- /dev/null +++ b/updateVersion.js @@ -0,0 +1,22 @@ +const fs = require('fs') +const path = require('path') + +const VERSION = process.env.RELEASE_VERSION + +if (!VERSION) { + console.error("RELEASE_VERSION environment variable is not set.") + process.exit(1) +} + +// Path to the file where `DOWNLOAD_LINKS` is defined +const filePath = path.join(__dirname, './src/lib/config.ts') + +// Read file content +let content = fs.readFileSync(filePath, 'utf-8') + +// Update URLs in DOWNLOAD_LINKS +content = content.replace(/\/v\d+\.\d+\.\d+\//g, `/v${VERSION}/`) + +fs.writeFileSync(filePath, content); + +console.log(`Updated DOWNLOAD_LINKS version to v${VERSION}`) From 013c36ed0091437d5bc4c9d1013e016bd5caee50 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:31:33 +0000 Subject: [PATCH 2/7] Update build-release-android.yml --- .github/workflows/build-release-android.yml | 108 +++++++++++--------- 1 file changed, 60 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build-release-android.yml b/.github/workflows/build-release-android.yml index 2d52d8178..80cafd0e1 100644 --- a/.github/workflows/build-release-android.yml +++ b/.github/workflows/build-release-android.yml @@ -6,51 +6,63 @@ on: - "*" jobs: - build-android-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.2.2 - - - name: setup node - uses: actions/setup-node@v4.1.0 - with: - node-version: lts/* - - - name: install Rust stable - uses: dtolnay/rust-toolchain@stable - - - name: install dependencies (ubuntu only) - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - - name: install frontend dependencies - run: npm install - - - name: Build Web Assets 🔨 - run: npm run build - - - name: Set up JDK - uses: actions/setup-java@v4.4.0 - with: - distribution: "temurin" - java-version: "21" - - - name: Set up Android SDK - uses: android-actions/setup-android@v3.2.1 - - - name: Sync Capacitor Assets 🔨 - run: npx cap sync && npx cap copy android && cd android && ./gradlew assembleDebug - - - name: Upload APK - uses: actions/upload-artifact@v4.4.3 - with: - name: build-android - path: android/app/build/outputs/apk/debug/app-debug.apk - retention-days: 5 - - - name: Github Release Android - uses: softprops/action-gh-release@v2 - with: - files: | - android/app/build/outputs/apk/debug/app-debug.apk + build-android-release: + runs-on: ubuntu-latest + env: + RELEASE_VERSION: ${{ github.ref_name }} # Set the release version from the tag + + steps: + - uses: actions/checkout@v4.2.2 + + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version: lts/* + + - name: Install Rust Stable + uses: dtolnay/rust-toolchain@stable + + - name: Install Ubuntu Dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: Install Frontend Dependencies + run: npm install + + - name: Update Download Links with New Version + run: node updateVersion.js + + - name: Build Web Assets 🔨 + run: npm run build + + - name: Set Up JDK + uses: actions/setup-java@v4.4.0 + with: + distribution: "temurin" + java-version: "21" + + - name: Set Up Android SDK + uses: android-actions/setup-android@v3.2.1 + + - name: Sync Capacitor Assets 🔨 + run: npx cap sync && npx cap copy android + + - name: Build APK with Dynamic Version Name + run: | + cd android + ./gradlew assembleDebug + mv app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/debug/Uplink_${{ env.RELEASE_VERSION }}.apk + + - name: Upload APK + uses: actions/upload-artifact@v4.4.3 + with: + name: build-android + path: android/app/build/outputs/apk/debug/Uplink_${{ env.RELEASE_VERSION }}.apk + retention-days: 5 + + - name: GitHub Release Android + uses: softprops/action-gh-release@v2 + with: + files: | + android/app/build/outputs/apk/debug/Uplink_${{ env.RELEASE_VERSION }}.apk From 2427d41372d2ef71c0a08c4a596d84c0535d0f3d Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:33:10 +0000 Subject: [PATCH 3/7] Update build-release-linux.yml --- .github/workflows/build-release-linux.yml | 98 +++++++++++++---------- 1 file changed, 54 insertions(+), 44 deletions(-) diff --git a/.github/workflows/build-release-linux.yml b/.github/workflows/build-release-linux.yml index 998c3945e..feb6a7511 100644 --- a/.github/workflows/build-release-linux.yml +++ b/.github/workflows/build-release-linux.yml @@ -6,47 +6,57 @@ on: - "*" jobs: - build-linux-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.2.2 - - - name: setup node - uses: actions/setup-node@v4.1.0 - with: - node-version: lts/* - - - name: install Rust stable - uses: dtolnay/rust-toolchain@stable - - - name: install dependencies (ubuntu only) - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - - name: install frontend dependencies - run: npm install - - - uses: tauri-apps/tauri-action@v0.5.15 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Calculate hashes - run: | - sha256sum src-tauri/target/release/bundle/deb/*.deb > src-tauri/target/release/bundle/deb/SHA256SUM - - - name: Upload Ubuntu installer - uses: actions/upload-artifact@v4.4.3 - with: - name: build-ubuntu - path: | - src-tauri/target/release/bundle/deb/*.deb - src-tauri/target/release/bundle/deb/SHA256SUM - retention-days: 5 - - - name: Github Release Linux - uses: softprops/action-gh-release@v2 - with: - files: | - src-tauri/target/release/bundle/deb/*.deb - src-tauri/target/release/bundle/deb/SHA256SUM + build-linux-release: + runs-on: ubuntu-latest + env: + RELEASE_VERSION: ${{ github.ref_name }} # Set the release version from the tag + + steps: + - uses: actions/checkout@v4.2.2 + + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version: lts/* + + - name: Install Rust Stable + uses: dtolnay/rust-toolchain@stable + + - name: Install Ubuntu Dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: Install Frontend Dependencies + run: npm install + + - name: Build Tauri App + uses: tauri-apps/tauri-action@v0.5.15 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Rename and Calculate Hashes for Release + run: | + # Rename the .deb file to include the release version + DEB_FILE=$(find src-tauri/target/release/bundle/deb -name "*.deb" | head -n 1) + NEW_DEB_FILE="src-tauri/target/release/bundle/deb/Uplink_${{ env.RELEASE_VERSION }}.deb" + mv "$DEB_FILE" "$NEW_DEB_FILE" + + # Calculate SHA256 hash for the renamed .deb file + sha256sum "$NEW_DEB_FILE" > src-tauri/target/release/bundle/deb/SHA256SUM + + - name: Upload Ubuntu Installer + uses: actions/upload-artifact@v4.4.3 + with: + name: build-ubuntu + path: | + src-tauri/target/release/bundle/deb/Uplink_${{ env.RELEASE_VERSION }}.deb + src-tauri/target/release/bundle/deb/SHA256SUM + retention-days: 5 + + - name: GitHub Release Linux + uses: softprops/action-gh-release@v2 + with: + files: | + src-tauri/target/release/bundle/deb/Uplink_${{ env.RELEASE_VERSION }}.deb + src-tauri/target/release/bundle/deb/SHA256SUM From c6ae1b9f40d86bc25be9b12e14ab6a0097e0f0af Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:33:50 +0000 Subject: [PATCH 4/7] Update build-release-macos.yml --- .github/workflows/build-release-macos.yml | 89 +++++++++++++---------- 1 file changed, 50 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build-release-macos.yml b/.github/workflows/build-release-macos.yml index 202e0d31d..60e83813a 100644 --- a/.github/workflows/build-release-macos.yml +++ b/.github/workflows/build-release-macos.yml @@ -6,42 +6,53 @@ on: - "*" jobs: - build-macos-release: - permissions: write-all - runs-on: macos-latest - steps: - - uses: actions/checkout@v4.2.2 - - - name: setup node - uses: actions/setup-node@v4.1.0 - with: - node-version: lts/* - - - name: install Rust stable - uses: dtolnay/rust-toolchain@stable - - - name: install frontend dependencies - run: npm install - - - uses: tauri-apps/tauri-action@v0.5.15 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - APPLE_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} - APPLE_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PWD }} - APPLE_SIGNING_IDENTITY: ${{ secrets.MACOS_CERTIFICATE_NAME }} - APPLE_ID: ${{ secrets.MACOS_NOTARIZATION_APPLE_ID }} - APPLE_PASSWORD: ${{ secrets.MACOS_NOTARIZATION_PWD }} - APPLE_TEAM_ID: ${{ secrets.MACOS_NOTARIZATION_TEAM_ID }} - - - name: Upload signed macOS Installer - uses: actions/upload-artifact@v4.4.3 - with: - name: build-macos-official - path: src-tauri/target/release/bundle/dmg/*.dmg - retention-days: 5 - - - name: Github Release MacOS - uses: softprops/action-gh-release@v2 - with: - files: | - src-tauri/target/release/bundle/dmg/*.dmg + build-macos-release: + permissions: write-all + runs-on: macos-latest + env: + RELEASE_VERSION: ${{ github.ref_name }} # Set the release version from the tag + + steps: + - uses: actions/checkout@v4.2.2 + + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version: lts/* + + - name: Install Rust Stable + uses: dtolnay/rust-toolchain@stable + + - name: Install Frontend Dependencies + run: npm install + + - name: Build Tauri App + uses: tauri-apps/tauri-action@v0.5.15 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + APPLE_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} + APPLE_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PWD }} + APPLE_SIGNING_IDENTITY: ${{ secrets.MACOS_CERTIFICATE_NAME }} + APPLE_ID: ${{ secrets.MACOS_NOTARIZATION_APPLE_ID }} + APPLE_PASSWORD: ${{ secrets.MACOS_NOTARIZATION_PWD }} + APPLE_TEAM_ID: ${{ secrets.MACOS_NOTARIZATION_TEAM_ID }} + + - name: Rename and Prepare macOS DMG + run: | + # Find and rename the .dmg file to include the release version + DMG_FILE=$(find src-tauri/target/release/bundle/dmg -name "*.dmg" | head -n 1) + NEW_DMG_FILE="src-tauri/target/release/bundle/dmg/Uplink_${{ env.RELEASE_VERSION }}.dmg" + mv "$DMG_FILE" "$NEW_DMG_FILE" + + - name: Upload signed macOS Installer + uses: actions/upload-artifact@v4.4.3 + with: + name: build-macos-official + path: src-tauri/target/release/bundle/dmg/Uplink_${{ env.RELEASE_VERSION }}.dmg + retention-days: 5 + + - name: GitHub Release MacOS + uses: softprops/action-gh-release@v2 + with: + files: | + src-tauri/target/release/bundle/dmg/Uplink_${{ env.RELEASE_VERSION }}.dmg From 1c62b82037b87f35dc418ea5fe5379eb95b88263 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:34:56 +0000 Subject: [PATCH 5/7] Update build-release-windows.yml --- .github/workflows/build-release-windows.yml | 161 +++++++++++--------- 1 file changed, 86 insertions(+), 75 deletions(-) diff --git a/.github/workflows/build-release-windows.yml b/.github/workflows/build-release-windows.yml index fd5707d6a..784fdc99e 100644 --- a/.github/workflows/build-release-windows.yml +++ b/.github/workflows/build-release-windows.yml @@ -6,78 +6,89 @@ on: - "*" jobs: - build-windows-release: - permissions: write-all - runs-on: windows-latest - steps: - - uses: actions/checkout@v4.2.2 - - - name: setup node - uses: actions/setup-node@v4.1.0 - with: - node-version: lts/* - - - name: install Rust stable - uses: dtolnay/rust-toolchain@stable - - - name: install frontend dependencies - run: npm install - - - uses: tauri-apps/tauri-action@v0.5.15 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Setup Certificate for Windows Signing - run: | - echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > certificate.p12 - shell: bash - - - name: Set variables for Windows Signing - id: variables - run: | - dir - echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - echo "KEYPAIR_NAME=gt-standard-keypair" >> $GITHUB_OUTPUT - echo "CERTIFICATE_NAME=gt-certificate" >> $GITHUB_OUTPUT - echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV" - echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV" - echo "SM_CLIENT_CERT_FILE=certificate.p12" >> "$GITHUB_ENV" - echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV" - echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH - echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH - echo "C:\Program Files\DigiCert\DigiCert Keylocker Tools" >> $GITHUB_PATH - shell: bash - - - name: Setup Keylocker KSP on windows - run: | - curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/Keylockertools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o Keylockertools-windows-x64.msi - msiexec /i Keylockertools-windows-x64.msi /quiet /qn - smksp_registrar.exe list - smctl.exe keypair ls - C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user - shell: cmd - - - name: Certificates Sync - run: | - smctl windows certsync - shell: cmd - - - name: Signing using Signtool - run: | - signtool.exe sign /sha1 ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "./src-tauri/target/release/bundle/msi/*.msi" - - - name: Delete cert file - run: Remove-Item -Force certificate.p12 - - - name: Upload signed Windows Installer - uses: actions/upload-artifact@v4.4.3 - with: - name: build-windows - path: src-tauri/target/release/bundle/msi/*.msi - retention-days: 5 - - - name: Github Release Windows - uses: softprops/action-gh-release@v2 - with: - files: | - src-tauri/target/release/bundle/msi/*.msi + build-windows-release: + permissions: write-all + runs-on: windows-latest + env: + RELEASE_VERSION: ${{ github.ref_name }} # Set the release version from the tag + + steps: + - uses: actions/checkout@v4.2.2 + + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version: lts/* + + - name: Install Rust Stable + uses: dtolnay/rust-toolchain@stable + + - name: Install Frontend Dependencies + run: npm install + + - name: Build Tauri App + uses: tauri-apps/tauri-action@v0.5.15 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Setup Certificate for Windows Signing + run: | + echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > certificate.p12 + shell: bash + + - name: Set Variables for Windows Signing + id: variables + run: | + dir + echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT + echo "KEYPAIR_NAME=gt-standard-keypair" >> $GITHUB_OUTPUT + echo "CERTIFICATE_NAME=gt-certificate" >> $GITHUB_OUTPUT + echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV" + echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV" + echo "SM_CLIENT_CERT_FILE=certificate.p12" >> "$GITHUB_ENV" + echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV" + echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH + echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH + echo "C:\Program Files\DigiCert\DigiCert Keylocker Tools" >> $GITHUB_PATH + shell: bash + + - name: Setup Keylocker KSP on Windows + run: | + curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/Keylockertools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o Keylockertools-windows-x64.msi + msiexec /i Keylockertools-windows-x64.msi /quiet /qn + smksp_registrar.exe list + smctl.exe keypair ls + C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user + shell: cmd + + - name: Certificates Sync + run: | + smctl windows certsync + shell: cmd + + - name: Signing using Signtool + run: | + signtool.exe sign /sha1 ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "./src-tauri/target/release/bundle/msi/*.msi" + + - name: Delete Cert File + run: Remove-Item -Force certificate.p12 + + - name: Rename MSI File + run: | + # Find and rename the .msi file to include the release version + MSI_FILE=$(find src-tauri/target/release/bundle/msi -name "*.msi" | head -n 1) + NEW_MSI_FILE="src-tauri/target/release/bundle/msi/Uplink_${{ env.RELEASE_VERSION }}.msi" + mv "$MSI_FILE" "$NEW_MSI_FILE" + + - name: Upload Signed Windows Installer + uses: actions/upload-artifact@v4.4.3 + with: + name: build-windows + path: src-tauri/target/release/bundle/msi/Uplink_${{ env.RELEASE_VERSION }}.msi + retention-days: 5 + + - name: GitHub Release Windows + uses: softprops/action-gh-release@v2 + with: + files: | + src-tauri/target/release/bundle/msi/Uplink_${{ env.RELEASE_VERSION }}.msi From efff72f5d7ccc594221cab6f545c4524e667c334 Mon Sep 17 00:00:00 2001 From: stavares843 Date: Sat, 9 Nov 2024 18:37:19 +0000 Subject: [PATCH 6/7] update ios --- src/lib/components/ui/InstallBanner.svelte | 6 +++--- src/lib/config.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/components/ui/InstallBanner.svelte b/src/lib/components/ui/InstallBanner.svelte index 3028db9b8..1e9076b5a 100644 --- a/src/lib/components/ui/InstallBanner.svelte +++ b/src/lib/components/ui/InstallBanner.svelte @@ -10,7 +10,7 @@ Windows = "Windows", MacOS = "MacOS", Android = "Android", - iOS = "iOS", + /* iOS = "iOS", */ Linux = "Linux", Other = "Other", } @@ -66,11 +66,11 @@ icon: Shape.Android, download: DOWNLOAD_LINKS.Android, }, - [Platform.iOS]: { + /* [Platform.iOS]: { text: "iPhone", icon: Shape.Apple, download: DOWNLOAD_LINKS.iOS, - }, + }, */ [Platform.Linux]: { text: "Linux", icon: Shape.Code, diff --git a/src/lib/config.ts b/src/lib/config.ts index 300393f35..b8d1ff023 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -52,8 +52,8 @@ export const INTEGRATIONS = { } export const DOWNLOAD_LINKS = { - Android: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/app-debug.apk", - iOS: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink.ipa", + Android: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink_2.0.0.apk", + // iOS: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink.ipa", Windows: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink_2.0.0_x64_en-US.msi", Mac: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink_2.0.0_aarch64.dmg", Linux: "https://github.com/Satellite-im/UplinkWeb/releases/download/v2.0.0/Uplink_2.0.0_amd64.deb", From b7a9af68e884c329e713aeb682e53d19a9a5619a Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:39:17 +0000 Subject: [PATCH 7/7] Update zip.yml --- .github/workflows/zip.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml index 944b8f0a2..2634e425b 100644 --- a/.github/workflows/zip.yml +++ b/.github/workflows/zip.yml @@ -34,21 +34,22 @@ jobs: - name: Run build script run: npm run build - # Step 5: Create a single ZIP file in target/release - - name: Zip the build + # Step 5: Create a single ZIP file in target/release and rename it with the version + - name: Zip the build with version run: | + VERSION=${GITHUB_REF#refs/tags/} # Extract version from tag name mkdir -p target/release - zip -r target/release/build.zip ./build # Create the ZIP file directly in target/release + zip -r target/release/Uplink_${VERSION}.zip ./build # Name the ZIP file with version # Step 6: Upload the ZIP file as an artifact - name: Upload build artifact uses: actions/upload-artifact@v4 with: name: build-zip - path: target/release/build.zip + path: target/release/Uplink_${GITHUB_REF#refs/tags/}.zip # Step 7: Copy file to release - name: Copy file to release uses: softprops/action-gh-release@v2 with: - files: target/release/build.zip + files: target/release/Uplink_${GITHUB_REF#refs/tags/}.zip