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