Skip to content

Commit 5118c3c

Browse files
committed
build: Additional build tweaks
1 parent d0f890d commit 5118c3c

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/early-access.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
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

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff 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: |
@@ -80,7 +81,7 @@ jobs:
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

gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ ezmorphVersion = 3.0.0
2929
jacocoVersion = 0.8.6
3030
junitVersion = 4.13.2
3131
slf4jVersion = 1.7.32
32+
slf4jTestVersion = 1.2.0
33+
xmlunitVersion = 1.6
3234
xomVersion = 1.3.7
3335

3436
kordampPluginVersion = 0.46.0

subprojects/json-lib-core/json-lib-core.gradle

+2-2
Original file line numberDiff line numberDiff 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:$xmlunitVersion")
38+
testImplementation("uk.org.lidalia:slf4j-test:$slf4jTestVersion")
3939
}

0 commit comments

Comments
 (0)