File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -68,16 +68,17 @@ jobs:
6868 echo "MAVEN_CENTRAL_PORTAL_TOKEN_USERNAME=$MVN_USER"
6969 echo "MAVEN_CENTRAL_PORTAL_TOKEN_PASSWORD=$MVN_PASS"
7070 } >> "$GITHUB_ENV"
71- - name : Stage artifacts
72- run : mvn deploy -Ppublication -Dprettier.skip=true -ntp -e
73- - name : Debug - show resolved versions and staged artifacts
74- if : always()
71+ - name : Debug - show resolved version before build
7572 run : |
7673 echo "=== Git tag/describe ==="
7774 git describe --tags --exact-match HEAD || echo "(no exact tag match)"
78- git describe --tags || echo "(no tags found)"
79- echo "=== Staging directory ==="
80- find target/staging-deploy -name "*.pom" | sort | head -30
75+ echo "=== Maven resolved version ==="
76+ mvn help:evaluate -Dexpression=project.version -q -DforceStdout
77+ - name : Stage artifacts
78+ run : mvn deploy -Ppublication -Dprettier.skip=true -ntp -e
79+ - name : Debug - show staged artifacts
80+ if : always()
81+ run : find target/staging-deploy -name "*.pom" | sort | head -30
8182 - name : Deploy to Maven Central
8283 # prereleased: USER_MANAGED — artifacts sit pending in the portal for review.
8384 # released: AUTOMATIC — artifacts are published immediately after validation.
You can’t perform that action at this time.
0 commit comments