fluffychat/scripts/publish-snap-stable.sh

10 lines
227 B
Bash
Raw Normal View History

2020-12-08 15:46:47 +01:00
#!/bin/sh -ve
2021-11-14 10:44:59 +01:00
echo $SNAPCRAFT_LOGIN_FILE | snapcraft login --with -
snapcraft
2021-12-05 09:13:23 +01:00
if [RELEASE_TYPE = "rc"]; then
snapcraft upload --release=candidate *.snap
else
snapcraft upload --release=stable *.snap
fi
2020-12-08 15:46:47 +01:00
snapcraft logout