From 23bd0cfa85fa014b23d4919a98d6329b7c3b25f8 Mon Sep 17 00:00:00 2001 From: tpietzsch Date: Sat, 28 Mar 2020 17:59:39 +0100 Subject: [PATCH] From version 1.8.12 "Travis encrypt" asks for confirmation From release notes: Ask for confirmation when encrypt and encrypt-file commands receive -a, --add flag --- travisify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travisify.sh b/travisify.sh index 1a85afd..1cfd228 100755 --- a/travisify.sh +++ b/travisify.sh @@ -201,7 +201,7 @@ EOL '#'*) continue;; esac info "Encrypting ${p%%=*}" - $EXEC travis encrypt --$mode "$p" --add env.global --repo "$repoSlug" + yes | $EXEC travis encrypt --$mode "$p" --add env.global --repo "$repoSlug" test $? -eq 0 || die "Failed to encrypt variable '$p'" done <"$varsFile" $EXEC git commit "$travisConfig" -m "Travis: add encrypted environment variables"