Skip to content

Instantly share code, notes, and snippets.

@MihaiTabara
Created May 9, 2019 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MihaiTabara/b4061a0c141d5bfcf7cebb6be67117f2 to your computer and use it in GitHub Desktop.
Save MihaiTabara/b4061a0c141d5bfcf7cebb6be67117f2 to your computer and use it in GitHub Desktop.
Publishing flatpaks
#!/bin/bash
set -xe
# prepare_publish
git clone https://github.com/flatpak/flat-manager.git
flat-manager/flat-manager-client create $RELEASES_SERVER_ADDRESS "${RELEASE_CHANNEL}" > publish_build.txt
# finish_publish
tar -xvf target.flatpak.tar.gz
flat-manager/flat-manager-client push $(cat publish_build.txt) repo
flat-manager/flat-manager-client commit --wait $(cat publish_build.txt)
flat-manager/flat-manager-client publish --wait $(cat publish_build.txt)
flat-manager/flat-manager-client purge $(cat publish_build.txt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment