File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
subprojects/json-lib-core Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 6565 run : echo ::set-output name=version::$(cat VERSION)
6666
6767 - name : Release
68- uses : jreleaser/release-action@v1
68+ uses : jreleaser/release-action@v2
6969 with :
7070 version : early-access
7171 arguments : release
Original file line number Diff line number Diff line change @@ -59,10 +59,11 @@ jobs:
5959 VERSION=${{ github.event.inputs.version }}
6060 echo $VERSION > VERSION
6161 git add VERSION
62+ sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ needs.precheck.outputs.VERSION }}/g" README.adoc
6263 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
6364 git config --global user.name "GitHub Action"
6465 git commit -a -m "Releasing version $VERSION"
65- git push origin main
66+ git push origin master
6667
6768 - name : Build
6869 run : |
8081 build publishToSonatype closeAndReleaseSonatypeStagingRepository -S
8182
8283 - name : Release
83- uses : jreleaser/release-action@v1
84+ uses : jreleaser/release-action@v2
8485 with :
8586 version : early-access
8687 arguments : full-release
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ ezmorphVersion = 3.0.0
2929jacocoVersion = 0.8.6
3030junitVersion = 4.13.2
3131slf4jVersion = 1.7.32
32+ slf4jTestVersion = 1.2.0
33+ xmlunitVersion = 1.6
3234xomVersion = 1.3.7
3335
3436kordampPluginVersion = 0.46.0
Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ dependencies {
3434 api(" xom:xom:$xomVersion " )
3535 api(" org.kordamp.ezmorph:ezmorph-core:$ezmorphVersion " )
3636
37- testImplementation(' xmlunit:xmlunit:1.6 ' )
38- testImplementation(' uk.org.lidalia:slf4j-test:1.2.0 ' )
37+ testImplementation(" xmlunit:xmlunit:$x mlunitVersion " )
38+ testImplementation(" uk.org.lidalia:slf4j-test:$s lf4jTestVersion " )
3939}
You can’t perform that action at this time.
0 commit comments