Created
May 9, 2019 19:22
-
-
Save MihaiTabara/b4061a0c141d5bfcf7cebb6be67117f2 to your computer and use it in GitHub Desktop.
Publishing flatpaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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