File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ if [[ -n "${GPG_PRIVATE_KEY}" && -n "${GPG_PASSPHRASE}" ]]; then
1313
1414 echo -e " #\n# list secret keys\n#\n"
1515 gpg --list-secret-keys --keyid-format LONG
16+ export GPG_TTY=$( tty)
1617fi
1718
1819# build
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ Bundle-Version: ${base.version}.${tstamp}-SNAPSHOT
4646-groupid: biz.aQute.bnd
4747-pom: version=${if;${def;-snapshot};${versionmask;===;${@version}}-${def;-snapshot};${versionmask;===s;${@version}}}
4848-maven-release: pom;path=JAR,javadoc;-classpath="${project.buildpath}"
49+
50+ gpg: gpg --homedir ${def;USERHOME;~}/.gnupg --pinentry-mode loopback
51+
4952# -snapshot unset (commented out) is a snapshot build. (e.g. 6.0.0-SNAPSHOT)
5053# -snapshot set to a value (e.g. RC1) is a release build with the value as the Maven version qualifier. (e.g. 6.0.0-RC1)
5154# -snapshot set to the empty string is a release build with no Maven version qualifier. (e.g. 6.0.0)
You can’t perform that action at this time.
0 commit comments