File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed
Expand file tree Collapse file tree 2 files changed +16
-11
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
3232 run : |
3333 VERSION=${{ github.event.inputs.version }}
3434 ./mvnw versions:set -DnewVersion=$VERSION
35- sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
36- git add pom.xml
37- git add README.adoc
38- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
39- git config --global user.name "GitHub Action"
40- git commit -a -m "Releasing version $VERSION"
41- git push origin master
4235
4336 - name : Build
4437 run : ./mvnw --no-transfer-progress -B --file pom.xml verify
6053 JRELEASER_GPG_SECRET_KEY : ${{ secrets.GPG_SECRET_KEY }}
6154 JRELEASER_SLACK_WEBHOOK : ${{ secrets.JRELEASER_SLACK_WEBHOOK }}
6255
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 pom.xml
61+ git add README.adoc
62+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
63+ git config --global user.name "GitHub Action"
64+ git commit -a -m "Releasing version $VERSION"
65+ git push origin master
66+
67+
6368 - name : JReleaser output
6469 if : always()
6570 uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ project:
22 name : redis-kafka-connect
33 description : Kafka Connector (Source and Sink) by Redis
44 longDescription : Kafka Connect source and sink connectors for Redis
5- website : https://github.com/redis-field-engineering/redis-kafka-connect
5+ links :
6+ homepage : https://github.com/redis-field-engineering/redis-kafka-connect
67 authors :
78 - Julien Ruaux
89 license : Apache-2.0
9- extraProperties :
10- inceptionYear : 2021
10+ inceptionYear : 2021
1111 tags :
1212 - ' kafka'
1313 - ' connect'
You can’t perform that action at this time.
0 commit comments