parent
5298169068
commit
5c9063cf2d
|
@ -158,7 +158,7 @@ jobs:
|
|||
env:
|
||||
- CLANG_SANITIZER=TSAN
|
||||
- *common-job-env
|
||||
- if: false
|
||||
- if: type != pull_request
|
||||
name: snap
|
||||
os: linux
|
||||
env:
|
||||
|
|
|
@ -7,7 +7,8 @@ set -o pipefail
|
|||
# [[ "$TRAVIS_TAG" != "$TRAVIS_BRANCH" ]] && exit 0
|
||||
|
||||
mkdir -p .snapcraft
|
||||
openssl aes-256-cbc -K $encrypted_ece1c4844832_key -iv $encrypted_ece1c4844832_iv
|
||||
# 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
|
||||
|
||||
SNAP=$(find ./ -name "*.snap")
|
||||
|
@ -18,4 +19,3 @@ if [[ "$SNAP" =~ "dirty" || "$SNAP" =~ "nightly" ]]; then
|
|||
else
|
||||
snapcraft push "$SNAP" --release candidate
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue