File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4444 fi
4545 git config --global user.name 'Spring Builds'
4646 git config --global user.email 'builds@springframework.org'
47+
48+ git fetch origin --no-tags
49+ git pull origin ${{ github.ref }}
50+
4751 git commit -a -m "[artifactory-release] Release version ${{ inputs.milestone }}"
4852 git tag "v${{ inputs.milestone }}"
49- git push --tags origin
5053
5154 NEXT_VERSION="${{ inputs.milestone }}"
5255
6265
6366 NEXT_VERSION=${NEXT_VERSION}-SNAPSHOT
6467
65- git fetch origin
66- git pull origin ${{ github.ref }}
67-
6868 if test -f pom.xml
6969 then
7070 mvn versions:set -DnewVersion=$NEXT_VERSION -DgenerateBackupPoms=false -DprocessAllModules=true -B -ntp
7474
7575 git commit -a -m "[artifactory-release] Next development version"
7676 git push origin
77+ git push --tags origin
7778
7879 echo nextVersion=$NEXT_VERSION >> $GITHUB_OUTPUT
7980
You can’t perform that action at this time.
0 commit comments