mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-12 03:31:13 -04:00
Fix snapcraft env check
This commit is contained in:
1 parent
d1b7d55483
commit
50b6b995aa
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user