Compare commits

...

6 Commits

Author SHA1 Message Date
Mend Renovate 485fb57677
Merge c0a74bc22c into 64d6bfdd39 2025-07-22 14:53:14 +00:00
Mend Renovate c0a74bc22c
fix(deps): update org.jodd 2025-07-22 14:53:10 +00:00
Mend Renovate 64d6bfdd39 chore(deps): update oracle-actions/setup-java action to v1.4.2 2025-07-22 17:45:00 +03:00
Vladimir Sitnikov 3c2a66e9c7 chore: remove stale release-drafter configuration 2025-07-22 17:27:53 +03:00
Vladimir Sitnikov dd192d41a1 chore: fix release-drafter so it uses the version from gradle.properties
Previously, release drafter was inferring v0.0.1.
Now we force the proper version for the draft.
2025-07-22 17:18:54 +03:00
Vladimir Sitnikov 16b13bc8fa chore: Oracle JDK supports only 21 or later 2025-07-22 17:11:52 +03:00
5 changed files with 34 additions and 9 deletions

View File

@ -1,9 +1,6 @@
# See https://github.com/release-drafter/release-drafter#configuration-options
name-template: 'v$RESOLVED_VERSION'
tag-template: 'rel/v$RESOLVED_VERSION'
# Filter previous releases to consider only those with the target matching the current branch
filter-by-commitish: true
tag-prefix: REL
exclude-labels:
- 'skip-changelog'
categories:

View File

@ -48,7 +48,7 @@ jobs:
fetch-depth: 50
- name: Set up Java ${{ matrix.java_version }}, oracle
if: ${{ matrix.oracle_java_website != '' }}
uses: oracle-actions/setup-java@7a0114d66dbd02646abd345c3395b34c148e6126 # v1.3.2
uses: oracle-actions/setup-java@b1546e588c27008e88bfcabda44d11c22316b9b8 # v1.4.2
with:
website: ${{ matrix.oracle_java_website }}
release: ${{ matrix.java_version }}

View File

@ -83,6 +83,8 @@ matrix.exclude({os: 'macos-latest', java_distribution: {value: 'oracle'}})
// Ignore builds with JAVA EA for now, see https://github.com/apache/jmeter/issues/6114
matrix.exclude({java_version: eaJava})
matrix.imply({java_version: eaJava}, {java_distribution: {value: 'oracle'}})
// Oracle JDK is only supported for JDK 21 and later
matrix.imply({java_distribution: {value: 'oracle'}}, {java_version: v => v === eaJava || v >= 21});
// TODO: Semeru does not ship Java 21 builds yet
matrix.exclude({java_distribution: {value: 'semeru'}, java_version: '21'});
// Ensure at least one job with "same" hashcode exists

View File

@ -8,13 +8,36 @@ on:
- 'release/**'
# pull_request_target allows PR from forks to access secrets, so please NEVER add pull_request_target
# Declare default permissions as read-only.
permissions: read-all
jobs:
update_release_draft:
# Skip release drafts in forks
if: github.repository_owner == 'apache'
if: vars.RUN_RELEASE_DRAFTER == 'true'
name: Update Release Draft
runs-on: ubuntu-latest
permissions:
# write permission is required to create a github release
contents: write
steps:
- name: Get the current version
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
id: current_version
with:
# language=javascript
script: |
const response = await github.rest.repos.getContent({
owner: context.repo.owner,
repo: context.repo.repo,
path: 'gradle.properties',
ref: context.sha
});
const content = Buffer.from(response.data.content, 'base64').toString();
const version = content.match(/^jmeter\.version=(.+)$/m)[1];
console.log(`Version is ${version}`);
return version;
# Drafts your next Release notes as Pull Requests are merged into "master"
- name: Update release body draft
uses: release-drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # v5
@ -23,5 +46,8 @@ jobs:
with:
# config-name: my-config.yml
disable-autolabeler: true
publish: false
latest: ${{ github.ref_name == github.event.repository.default_branch }}
version: ${{ steps.current_version.outputs.result }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -127,10 +127,10 @@ dependencies {
api("org.jetbrains.lets-plot:lets-plot-batik:4.1.0")
api("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.5.0")
api("org.jetbrains:annotations:24.1.0")
api("org.jodd:jodd-core:5.0.13")
api("org.jodd:jodd-lagarto:5.0.13")
api("org.jodd:jodd-log:5.0.13")
api("org.jodd:jodd-props:5.0.13")
api("org.jodd:jodd-core:5.3.0")
api("org.jodd:jodd-lagarto:5.1.5")
api("org.jodd:jodd-log:5.1.6")
api("org.jodd:jodd-props:5.2.0")
api("org.jsoup:jsoup:1.17.1")
api("org.mongodb:mongo-java-driver:2.14.3")
api("org.mozilla:rhino:1.7.14")