@@ -22,8 +22,6 @@ gitactionSettingsFile=$gitactionDir/settings.xml
2222gitactionNotifyScript=$gitactionDir /notify.sh
2323credentialsDir=$HOME /.scijava/credentials
2424varsFile=$credentialsDir /vars
25- signingKeySourceFile=$credentialsDir /scijava-ci-signing.asc.enc
26- signingKeyDestFile=$gitactionDir /signingkey.asc
2725pomMinVersion=' 17.1.1'
2826tmpFile=gitaction.tmp
2927
270268 test -f README.md && cat README.md >> " $tmpFile "
271269 update README.md ' GitHub Action: add badge to README.md'
272270 fi
273-
274- # copy the encrypted signing key
275- # This assumes you have the encrypted signing key locally and will set the encryption key and iv as encrypted
276- # environment variables in your repository or organization
277- if [ -f " $signingKeySourceFile " ]
278- then
279- info " Copying $signingKeyDestFile "
280- if [ -z " $EXEC " ]
281- then
282- rm -f " $signingKeyDestFile .enc"
283- cp " $signingKeySourceFile " " $signingKeyDestFile .enc"
284- git add " $signingKeyDestFile .enc"
285- git commit -m " GitHub Action: add encrypted GPG signing keypair"
286- fi
287- else
288- warn " No $signingKeySourceFile found. GitHub Action will not be able to do GPG signing!"
289- fi
290271}
291272
292- test -d " $credentialsDir " ||
293- die " This script requires configuration stored in $credentialsDir ,\n" \
294- " including $varsFile for needed environment variables,\n" \
295- " and $signingKeySourceFile for signing of artifacts.\n" \
296- " Please contact a SciJava administrator to receive a copy of this content."
273+ echo " Note that CI deployment requires additional configuration. Please contact a SciJava administrator for more information."
297274
298275# call check method to verify prerequisites
299276check git sed cut perl xmllint
0 commit comments