File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 release :
1111 name : Release
12- runs-on : ubuntu-18.04
12+ runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v3
3131 - name : Set release version
3232 run : |
3333 VERSION=${{ github.event.inputs.version }}
34- sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
35- git add README.adoc
36- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
37- git config --global user.name "GitHub Action"
38- git commit -a -m "Releasing version $VERSION"
39- git push origin master
34+ ./mvnw versions:set -DnewVersion=$VERSION
4035
4136 - name : Build
4237 run : ./mvnw --no-transfer-progress -B --file pom.xml verify
5752 JRELEASER_GPG_PUBLIC_KEY : ${{ secrets.GPG_PUBLIC_KEY}}
5853 JRELEASER_GPG_SECRET_KEY : ${{ secrets.GPG_SECRET_KEY }}
5954 JRELEASER_SLACK_WEBHOOK : ${{ secrets.JRELEASER_SLACK_WEBHOOK }}
55+
56+ - name : Commit release version
57+ run : |
58+ VERSION=${{ github.event.inputs.version }}
59+ sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
60+ git add README.adoc
61+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
62+ git config --global user.name "GitHub Action"
63+ git commit -a -m "Releasing version $VERSION"
64+ git push origin master
6065
6166 - name : JReleaser output
6267 if : always()
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ project:
1010 groupId : com.redis
1111 version : 8
1212 multiProject : true
13- extraProperties :
14- inceptionYear : 2020
13+ inceptionYear : 2020
1514 tags :
1615 - ' redis'
1716 - ' redisearch'
You can’t perform that action at this time.
0 commit comments