Skip to content

Commit db80cb7

Browse files
committed
add verbose versioning debug to release workflow
1 parent 468ca9c commit db80cb7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ jobs:
7070
} >> "$GITHUB_ENV"
7171
- name: Debug - show resolved version before build
7272
run: |
73-
echo "=== Git tag/describe ==="
73+
echo "=== Git state ==="
7474
git describe --tags --exact-match HEAD || echo "(no exact tag match)"
75+
git branch --show-current || echo "(detached HEAD)"
76+
git log --oneline -1
77+
echo "=== Extension config ==="
78+
cat .mvn/maven-git-versioning-extension.xml
7579
echo "=== Maven resolved version ==="
76-
mvn help:evaluate -Dexpression=project.version -q -DforceStdout
80+
mvn help:evaluate -Dexpression=project.version -q -DforceStdout -Dversioning.verbose=true 2>&1 | tail -20
7781
- name: Stage artifacts
7882
run: mvn deploy -Ppublication -Dprettier.skip=true -ntp -e
7983
- name: Debug - show staged artifacts

0 commit comments

Comments
 (0)