Fix snapcraft env check

This commit is contained in:
Gregory Schier committed 2020-04-26 14:47:34 -07:00
1 parent d1b7d55483
commit 50b6b995aa
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ echo "Running the stuff"
npm test
# Log into snapcraft for publishing
if [ -z "$SNAPCRAFT_LOGIN_FILE" ]; then
if [ -n "$SNAPCRAFT_LOGIN_FILE" ]; then
echo "$SNAPCRAFT_LOGIN_FILE" > snapcraft.txt && snapcraft login --with snapcraft.txt
fi