From 05cda309d56f647be9a876a4b3d805fdf6ef0649 Mon Sep 17 00:00:00 2001 From: doomsdayrs Date: Sun, 3 Mar 2024 14:24:50 -0500 Subject: [PATCH] Add metainfo and desktop file to release zip --- .github/workflows/central.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/central.yml b/.github/workflows/central.yml index ceea5ce..dad9624 100644 --- a/.github/workflows/central.yml +++ b/.github/workflows/central.yml @@ -75,7 +75,16 @@ jobs: - run: flutter build linux --release --dart-define="SENTRY_DSN=${{ secrets.SENTRY_DSN }}" --dart-define="DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }}" name: flutter build - name: Zip Release - run: zip -r intiface-central-linux-${{ matrix.os }}-x64.zip build/linux/x64/release/bundle + run: | + ROOT=`pwd` + ZIP=$PWD/intiface-central-linux-${{ matrix.os }}-x64.zip + cd build/linux/x64/release/bundle + zip -r $ZIP ./* + cd $ROOT + cd linux/ + zip -u $ZIP com.nonpolynomial.intiface_central.desktop + zip -u $ZIP com.nonpolynomial.intiface_central.metainfo.xml + cd $ROOT - name: Archive production artifacts uses: actions/upload-artifact@v3 with: