
With arm64-graviton2 now providing full VM virtualization, LXD containers can be used to build snaps on all architectures. This is beneficial for us as having snapcraft manage the whole build environment is likely to yield better/more consistent results than running the builds on the Travis images directly.
9 lines
163 B
Bash
Executable File
9 lines
163 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
channels="$1"
|
|
echo "$SNAP_TOKEN" | snapcraft login --with -
|
|
|
|
for snap in ./pkg/snap/*.snap; do
|
|
snapcraft upload "$snap" --release "$channels"
|
|
done
|