Skip to content

Commit d7396f9

Browse files
authored
Use keyID for export
Otherwise there might be multiple keys associated and gpg does not know the default key
1 parent 34b9757 commit d7396f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ matrix:
2121
install: true
2222

2323
# store them into travis via https://dracoblue.net/dev/uploading-snapshots-and-releases-to-maven-central-with-travis/
24-
# gpg -a --export-secret-keys [email protected] | base64 -w 0
24+
# gpg --export-secret-keys <keyID> | base64 -w 0
2525
# gpg --export-ownertrust | base64 -w 0
2626
before_install:
2727
- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi

0 commit comments

Comments
 (0)