Skip to content

Commit df4ff17

Browse files
authored
Add diagnostic to release workflow for version
1 parent fa76df8 commit df4ff17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/spring-artifactory-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@ jobs:
6363
else
6464
CURRENT_VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')
6565
fi
66+
echo $CURRENT_VERSION
6667
export CANDIDATE_VERSION=${CURRENT_VERSION/-SNAPSHOT}
68+
echo $CANDIDATE_VERSION
6769
RELEASE_VERSION=$(gh api repos/$GITHUB_REPOSITORY/milestones --jq 'map(select(.title | startswith(env.CANDIDATE_VERSION))) | .[0] | .title')
70+
echo $RELEASE_VERSION
6871
if [ -z $RELEASE_VERSION ]
6972
then
7073
gh run cancel ${{ github.run_id }}
@@ -125,4 +128,4 @@ jobs:
125128
uses: ./.github/workflows/spring-finalize-release.yml
126129
with:
127130
milestone: ${{ needs.releaseVersion.outputs.releaseVersion }}
128-
secrets: inherit
131+
secrets: inherit

0 commit comments

Comments
 (0)