Skip to content

Commit 385af4e

Browse files
authored
fix
1 parent 2719c43 commit 385af4e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: .github/workflows/pipeline.yml

+9
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ jobs:
102102
mvn versions:set -DnewVersion=${{ needs.bump.outputs.major_version }}.${{ needs.bump.outputs.minor_version }}.${{ needs.bump.outputs.build_version }} -DgenerateBackupPoms=false
103103
- name: Build and verify with Maven 🔨
104104
run: mvn --batch-mode --update-snapshots verify $MAVEN_ARGS
105+
- name: List signed files 🐞
106+
run: |
107+
echo "📦 Contents of target/:"
108+
ls -lh target/
109+
echo ""
110+
echo "🔍 GPG signatures:"
111+
find target/ -type f -name "*.asc" -exec echo "✔ Found:" {} \;
112+
echo ""
113+
echo "❓ Missing POM signature?" && test ! -f target/*pom.asc && echo "❌ No POM signature found!" || echo "✅ POM is signed."
105114
- name: Publish to Maven Central
106115
run: mvn verify central-publishing:publish -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS
107116
env:

Diff for: pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
</execution>
170170
</executions>
171171
<configuration>
172+
<attachPom>true</attachPom>
172173
<gpgArguments>
173174
<gpgArgument>--pinentry-mode</gpgArgument>
174175
<gpgArgument>loopback</gpgArgument>

0 commit comments

Comments
 (0)