We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298acb4 commit ba3d43bCopy full SHA for ba3d43b
1 file changed
.github/workflows/spring-artifactory-maven-release-staging.yml
@@ -76,13 +76,17 @@ jobs:
76
java-version: 24
77
cache: maven
78
79
+ - name: Compute Version
80
+ id: compute-version
81
+ uses: spring-io/spring-release-actions/compute-version@0.0.3
82
+
83
- name: Evaluate Build Name
84
id: build-name
85
run: |
86
branchVersion=${{ github.ref_name }}
87
88
if [ $branchVersion = 'main' ]; then
- snapshotVersion=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
89
+ snapshotVersion=${{ steps.compute-version.outputs.version }}
90
branchVersion=${snapshotVersion%.*}.x
91
fi
92
0 commit comments