Revert "feat: publish Flatpak bundles"

This reverts commit ec74bed58b.
This commit is contained in:
Erwan Leboucher committed 2026-08-11 23:22:05 +02:00
1 parent ec74bed58b
commit 14dfd7e929
3 files changed
+8 -41

No files matched your search

-35
View File
@@ -732,39 +732,6 @@ jobs:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
run: goreleaser ${{ steps.gr.outputs.args }}
- name: Install Flatpak build tools
shell: bash
run: |
sudo apt-get update
sudo apt-get install --yes flatpak flatpak-builder
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak install --system --noninteractive flathub \
org.freedesktop.Platform//25.08 \
org.freedesktop.Sdk//25.08 \
org.electronjs.Electron2.BaseApp//25.08
- name: Build Flatpak bundle
shell: bash
run: |
archive=".goreleaser-dist/Sable-${VERSION}-linux-x86_64.tar.gz"
[ -f "$archive" ] || { echo "Linux tarball not found: $archive" >&2; exit 1; }
flatpak_dir="$RUNNER_TEMP/flatpak"
cp -a packaging/flatpak "$flatpak_dir"
cp "$archive" "$flatpak_dir/sable.tar.gz"
sed -i \
-e 's|^ url: https://github.com/SableClient/Sable/releases/download/.*| path: sable.tar.gz|' \
-e '/^ sha256: /d' \
"$flatpak_dir/moe.sable.client.yml"
flatpak-builder --force-clean --disable-cache \
--repo "$RUNNER_TEMP/flatpak-repo" \
"$RUNNER_TEMP/flatpak-build" \
"$flatpak_dir/moe.sable.client.yml"
flatpak build-bundle "$RUNNER_TEMP/flatpak-repo" \
".goreleaser-dist/Sable-${VERSION}-linux-x86_64.flatpak" \
moe.sable.client
- name: Build the AppImage
shell: bash
run: |
@@ -789,7 +756,6 @@ jobs:
.goreleaser-dist/*.deb
.goreleaser-dist/*.rpm
.goreleaser-dist/*.pkg.tar.zst
.goreleaser-dist/*.flatpak
src-tauri/target/release/bundle/appimage/*.AppImage
src-tauri/target/release/bundle/appimage/*.sig
@@ -802,7 +768,6 @@ jobs:
.goreleaser-dist/Sable-*.rpm \
.goreleaser-dist/Sable-*.pkg.tar.zst \
.goreleaser-dist/Sable-*-linux-x86_64.tar.gz \
.goreleaser-dist/Sable-*-linux-x86_64.flatpak \
src-tauri/target/release/bundle/appimage/Sable-*-linux-x86_64.AppImage \
src-tauri/target/release/bundle/appimage/Sable-*-linux-x86_64.AppImage.sig; do
[ -e "$f" ] || continue
+1 -1
View File
@@ -21,7 +21,7 @@ You can also download our desktop app for Windows and Linux from [releases](http
 
<a href="https://snapcraft.io/sable"><img alt="Snap Store" src="https://img.shields.io/badge/Install_via_Snap-82BEA0?style=for-the-badge&logo=snapcraft"></a>
&nbsp;
<a href="https://github.com/SableClient/Sable/releases/latest"><img alt="Download Flatpak" src="https://img.shields.io/badge/Download_Flatpak-4A86CF?style=for-the-badge&logo=flatpak"></a>
<a href="https://flathub.org/apps/moe.sable.client"><img alt="Flathub" src="https://img.shields.io/badge/Install_via_Flathub-4A86CF?style=for-the-badge&logo=flathub"></a>
On macOS, via our [Homebrew tap](https://github.com/SableClient/homebrew-sable):
+7 -5
View File
@@ -1,7 +1,9 @@
# Direct-distribution Flatpak manifest. CI replaces the archive source with the
# GoReleaser tarball built in the same release job, then uploads the `.flatpak`
# bundle to GitHub Releases. It is not suitable for Flathub, which requires a
# source build.
# Flathub manifest. Submit this to https://github.com/flathub/flathub by opening
# a PR against the `new-pr` branch; Flathub builds it on their own infra.
#
# It consumes the release tarball GoReleaser publishes rather than building from
# source: Flathub builds have no network, and a source build would need Cargo and
# pnpm vendored plus the ~1GB CEF distribution declared as a source.
id: moe.sable.client
runtime: org.freedesktop.Platform
@@ -56,7 +58,7 @@ modules:
- type: archive
# The GoReleaser archive has no wrapper directory.
strip-components: 0
# CI replaces these seed values with its local release archive.
# Seed values rewritten by x-checker-data below on each release.
url: https://github.com/SableClient/Sable/releases/download/v1.21.0/Sable-1.21.0-linux-x86_64.tar.gz
sha256: '0000000000000000000000000000000000000000000000000000000000000000'
only-arches: [x86_64]