Skip to content

Commit c1fc00f

Browse files
committed
use importGpg rather than own logic in release-files
this way we also don't trust hard-coded the key of info@tegonal.com but instead the imported key.
1 parent c775963 commit c1fc00f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/releasing/release-files.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ function releaseFiles() {
162162
mkdir "$gpgDir"
163163
chmod 700 "$gpgDir"
164164

165-
gpg --homedir "$gpgDir" --batch --no-tty --import "$gtDir/signing-key.public.asc" || die "was not able to import %s" "$gtDir/signing-key.public.asc"
166-
trustGpgKey "$gpgDir" "info@tegonal.com" || logInfo "could not trust key with id info@tegonal.com, you will see warnings due to this during signing the files"
165+
importGpgKey "$gpgDir" "$gtDir/signing-key.public.asc" || die "was not able to import the signing-key, cannot release"
167166

168167
local script
169168
"$release_files_findForSigning" -type f -not -name "*.sig" -print0 |

0 commit comments

Comments
 (0)