From ba9a14be603a091959e5cedf30bbb25eaeb42088 Mon Sep 17 00:00:00 2001 From: Greg Schueler Date: Tue, 2 Jul 2019 13:37:16 -0700 Subject: [PATCH] test expectations --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c696b5a8..a1d327a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,11 +37,11 @@ jobs: - stage: sign env: JOB='rpm signing' script: - - mkdir $HOME/.gnupg + - test -d $HOME/.gnupg || mkdir $HOME/.gnupg - openssl aes-256-cbc -K $encrypted_168997f84686_key -iv $encrypted_168997f84686_iv -in gpg.tar.enc -out gpg.tar -d - - tar xv -C $HOME/.gnupg -f gpg.tar - - GPG_PATH=$HOME/.gnupg ./travis-sign-rpm.sh rd-cli-tool/build/distributions + - test -f gpg.tar && tar xv -C $HOME/.gnupg -f gpg.tar + - test -f $HOME/.gnupg/secring.gpg && GPG_PATH=$HOME/.gnupg ./travis-sign-rpm.sh rd-cli-tool/build/distributions deploy: provider: releases api_key: