aboutsummaryrefslogtreecommitdiff
path: root/ci/snap/deploy.sh
blob: d38d56c39f5f9defe99c8d287e14271c0a3822b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -e
set -o pipefail

# not a tagged release, abort
# [[ "$TRAVIS_TAG" != "$TRAVIS_BRANCH" ]] && exit 0

mkdir -p .snapcraft
# shellcheck disable=SC2154
openssl aes-256-cbc -K "$encrypted_ece1c4844832_key" -iv "$encrypted_ece1c4844832_iv" \
  -in ci/snap/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d