From ef3a607af51e9d15de33d08aeb1914108fd7db2b Mon Sep 17 00:00:00 2001 From: pajlada Date: Mon, 13 Feb 2023 10:34:40 +0100 Subject: [PATCH] Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372) --- .CI/CreateUbuntuDeb.sh | 9 ++++++--- .github/workflows/build.yml | 7 ++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.CI/CreateUbuntuDeb.sh b/.CI/CreateUbuntuDeb.sh index ac627d64..7bd69010 100755 --- a/.CI/CreateUbuntuDeb.sh +++ b/.CI/CreateUbuntuDeb.sh @@ -15,6 +15,9 @@ packaging_dir="package" # Get the Ubuntu Release (e.g. 20.04 or 22.04) ubuntu_release="$(lsb_release -rs)" +# The final path where we'll save the .deb package +deb_path="Chatterino-${ubuntu_release}-x86_64.deb" + # Refactor opportunity: case "$ubuntu_release" in 20.04) @@ -77,15 +80,15 @@ breakline echo "Building package" -dpkg-deb --build "$packaging_dir" "Chatterino-x86_64.deb" +dpkg-deb --build "$packaging_dir" "$deb_path" breakline echo "Package info" -dpkg --info Chatterino-x86_64.deb +dpkg --info "$deb_path" breakline echo "Package contents" -dpkg --contents Chatterino-x86_64.deb # Shows folders and files inside .deb file +dpkg --contents "$deb_path" breakline diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ecbcc93..9424f2c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -264,7 +264,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: Chatterino-${{ matrix.os }}-Qt-${{ matrix.qt-version }}.deb - path: build/Chatterino-x86_64.deb + path: build/Chatterino-${{ matrix.os }}-x86_64.deb # MACOS - name: Install dependencies (MacOS) @@ -316,6 +316,11 @@ jobs: name: chatterino-windows-x86-64-5.15.2.zip path: release-artifacts/ + - uses: actions/download-artifact@v3 + with: + name: chatterino-windows-x86-64-5.15.2-symbols.pdb.zip + path: release-artifacts/ + - uses: actions/download-artifact@v3 with: name: Chatterino-x86_64-5.15.2.AppImage