From 07717ae5a3676d2a5ee4cd440ea69169c9d0f813 Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Fri, 6 Feb 2026 14:22:14 +0200 Subject: [PATCH 1/3] release 5.0.2 Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com> --- .github/workflows/release.yml | 25 ++++++++++++++++++++++--- README.md | 4 ++-- gradle.properties | 2 +- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 469cb6a..1e82050 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + version: ${{ steps.release_name.outputs.version }} env: JRELEASER_MAVENCENTRAL_CENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVENCENTRAL_CENTRAL_USERNAME }} JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }} @@ -41,9 +43,13 @@ jobs: run: chmod +x gradlew - name: Extract release version from branch id: release_name + shell: bash run: | - BRANCH="${GITHUB_REF##*/}" - echo "version=$BRANCH" >> "$GITHUB_OUTPUT" + ref="${GITHUB_REF_NAME#release/}" + version="${ref#v}" + echo "version=$version" >> "$GITHUB_OUTPUT" + echo "Release version: $version" + - name: Fail if version is a SNAPSHOT if: endsWith(steps.release_name.outputs.version, '-SNAPSHOT') run: | @@ -70,5 +76,18 @@ jobs: java-version: 21 - name: Publish Javadocs (gh-pages) env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.JRELEASER_GITHUB_TOKEN }} run: ./gradlew core:gitPublishPush + git-release: + needs: release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Github Release + uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: ${{ secrets.JRELEASER_GITHUB_TOKEN }} + automatic_release_tag: v${{ needs.release.outputs.version }} + prerelease: false + files: | + web3j-unit-${{ needs.release.outputs.version }}.* diff --git a/README.md b/README.md index a46419f..2539b6d 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ You can find an example using docker-compose [here](https://github.com/web3j/web maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/" } } - implementation "org.web3j:core:4.14.0" - testCompile "org.web3j:web3j-unit:4.14.0" + implementation "org.web3j:core:5.0.2" + testCompile "org.web3j:web3j-unit:5.0.2" ``` 2. Create a new test with the `@EVMTest` annotation. An embedded EVM is used by default. To use Geth or Besu pass the node type into the annotation: `@EVMTest(NodeType.GETH)` or `@EVMTest(NodeType.BESU)` diff --git a/gradle.properties b/gradle.properties index 1400d06..513be70 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,5 +2,5 @@ kotlin.code.style=official group=org.web3j version=5.0.2 org.gradle.caching=true -org.gradle.configuration-cache=true +org.gradle.configuration-cache=false org.gradle.configuration-cache.problems=warn From bb50c44e1987e2a01bdfd74d6b00c38993862c79 Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Fri, 6 Feb 2026 17:15:43 +0200 Subject: [PATCH 2/3] bump 5.0.3 Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com> --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4705479..2c66e27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -# [5.0.2]() (Upcoming) +# [5.0.3]() (Upcoming) + +### Bug Fixes + +* + +### Features + +* + +### BREAKING CHANGES + +* + +# [5.0.2](https://github.com/LFDT-web3j/web3j-unit/releases/tag/v5.0.2) (2026-02-06) ### Bug Fixes From 9b55a22d1f1a1008c3e77a6558932e94ad9f17c5 Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Fri, 6 Feb 2026 17:22:42 +0200 Subject: [PATCH 3/3] version Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com> --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 513be70..12bd99b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ kotlin.code.style=official group=org.web3j -version=5.0.2 +version=5.0.3-SNAPSHOT org.gradle.caching=true org.gradle.configuration-cache=false org.gradle.configuration-cache.problems=warn