File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 2929out
3030build
3131
32- .travis /deploy_key
32+ .travis /deploy_rsa
Original file line number Diff line number Diff line change 2929 mvn --settings .travis/mvnsettings.xml org.codehaus.mojo:versions-maven-plugin:2.3:set -DnewVersion=$new_snapshot
3030 mvn --settings .travis/mvnsettings.xml org.codehaus.mojo:versions-maven-plugin:2.3:commit
3131 # Save some useful information
32- REPO=` git config remote.origin.url`
33- SSH_REPO=${REPO/ https: \/\/ github.com\/ / git@ github.com: }
3432 git config user.name " Travis CI"
3533 git config user.email
" [email protected] " 3634 git add pom.xml
37- git commit -m " [Travis-CI] next snapshot version"
35+ git commit -m " [skip ci] [ Travis-CI] next snapshot version via Travis build $TRAVIS_BUILD_NUMBER "
3836
39- # Get the deploy key by using Travis's stored variables to decrypt deploy_key .enc
40- openssl aes-256-cbc -K $encrypted_7a1322f4b03c_key -iv $encrypted_7a1322f4b03c_iv -in .travis/deploy_key .enc -out .travis/deploy_key -d
41- chmod 600 .travis/deploy_key
37+ # Get the deploy key by using Travis's stored variables to decrypt deploy_rsa .enc
38+ openssl aes-256-cbc -K $encrypted_7a1322f4b03c_key -iv $encrypted_7a1322f4b03c_iv -in .travis/deploy_rsa .enc -out .travis/deploy_rsa -d
39+ chmod 600 .travis/deploy_rsa
4240 eval ` ssh-agent -s`
43- ssh-add .travis/deploy_key
41+ ssh-add .travis/deploy_rsa
4442
4543 # Now that we're all set up, we can push.
46- git push $SSH_REPO master
44+ git push upstream master
4745fi
You can’t perform that action at this time.
0 commit comments