Skip to content

Commit

Permalink
Add metainfo and desktop file to release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs authored and qdot committed Dec 26, 2024
1 parent 1ec1c73 commit 05cda30
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 05cda30

Please sign in to comment.