Skip to content

Commit

Permalink
fix(workflow):[-] Add helper script to properly pass arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jkreutzfeld committed Jul 13, 2023
1 parent 9697a8b commit f99e56d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/gpghelper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gpg --pinentry-mode loopback "$@"
2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ jobs:
run: |-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -pl irs-registry-client)
echo "Publishing Version $VERSION to Sonatype"
mvn gpg:sign-and-deploy-file -DgpgArguments=--pinentry-mode,loopback -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -Dfile=irs-registry-client/target/irs-registry-client-$VERSION-jar-with-dependencies.jar -DgroupId=org.eclipse.tractusx.irs -DartifactId=irs-registry-client -Dversion=$VERSION -Dpackaging=jar
mvn gpg:sign-and-deploy-file -Dgpg.executable="./gpghelper.sh -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -Dfile=irs-registry-client/target/irs-registry-client-$VERSION-jar-with-dependencies.jar -DgroupId=org.eclipse.tractusx.irs -DartifactId=irs-registry-client -Dversion=$VERSION -Dpackaging=jar

0 comments on commit f99e56d

Please sign in to comment.