fluffychat/scripts/publish-snap-stable.sh

7 lines
245 B
Bash
Executable File

#!/bin/sh -ve
snapcraft remote-build --launchpad-accept-public-upload
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
snapcraft login --with snapcraft.login
snapcraft push --release=stable *.snap
snapcraft logout