#!/bin/sh -e channels="$1" echo "$SNAP_TOKEN" | snapcraft login --with - for snap in ./pkg/snap/*.snap; do snapcraft upload "$snap" --release "$channels" done