Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- ## Replace {} with values
- travis login --user {travis login - i use github} --github-token={token which you can get some the settings page}
- gpg --export --armor {key email} > ./.travis/codesigning.asc
- gpg --export-secret-keys --armor {key email} >> ./.travis/codesigning.asc
- cd ./.travis || exit
- travis encrypt-file codesigning.asc --add
- rm -f codesigning.asc
- travis encrypt SONATYPE_USERNAME={username for sonatype} --add
- travis encrypt SONATYPE_PASSWORD={password for sonatype} --add
- travis encrypt GPG_KEY_NAME={email for signing key} --add
- travis encrypt GPG_PASSPHRASE={passphrase for signing key} --add
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement