travis-decrypt-key 317 B

1234567
  1. #!/bin/bash
  2. # Script to only decrypt if it is available
  3. if [ ! -z ${encrypted_daaf322d08bf_key+x} ]; then
  4. openssl aes-256-cbc -K $encrypted_daaf322d08bf_key -iv $encrypted_daaf322d08bf_iv -in $TRAVIS_BUILD_DIR/package/deploy/slic3r-upload.rsa.enc -out ~/slic3r-upload.rsa -d
  5. chmod 600 ~/slic3r-upload.rsa
  6. fi