Skip to content

Commit baaecd6

Browse files
committed
prepare release 4.0.2
1 parent 5357105 commit baaecd6

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Release to Maven Central
2+
run-name: Build ${{ github.ref_name }} by @${{ github.actor }}
23

34
on:
4-
push:
5-
tags:
6-
- '*'
5+
release:
6+
types: [ created ]
77
workflow_dispatch:
88

99
defaults:
@@ -17,14 +17,9 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- uses: olegtarasov/get-tag@v2.1.3
21-
id: tagName
22-
with:
23-
tagRegex: "(.*)"
24-
2520
- name: Set Release version env variable
2621
run: |
27-
echo "TAG_NAME=${{ steps.tagName.outputs.tag }}" >> $GITHUB_ENV
22+
echo "TAG_NAME=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
2823
2924
# if no tag exists, this is expected to fail
3025
- name: Switch to git tag for release
@@ -57,3 +52,5 @@ jobs:
5752
draft: true
5853
artifacts: "sonar-pmd-plugin/target/*.jar"
5954
bodyFile: CHANGELOG.md
55+
allowUpdates: true
56+
makeLatest: true

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Changelog
22

3-
4-
## [4.0.2-SNAPSHOT](https://github.com/jborgers/sonar-pmd/tree/4.0.2-SNAPSHOT) (2025-xx-xx)
3+
## [4.1.0-SNAPSHOT](https://github.com/jborgers/sonar-pmd/tree/4.0.2-SNAPSHOT) (2025-xx-xx)
54
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.1..master)
65

76
**Implemented highlights**
87
* [TODO]
98

9+
## [4.0.2](https://github.com/jborgers/sonar-pmd/tree/4.0.2) (2025-06-06)
10+
11+
Bugfix release to work with latest SonarQube releases. See [#508](https://github.com/jborgers/sonar-pmd/issues/508) and [#509](https://github.com/jborgers/sonar-pmd/issues/509).
12+
13+
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.1..4.0.2)
14+
15+
**Implemented highlights**
16+
* Remove the custom profile importer/exporter to support SonarQube Server 25.4 [#504](https://github.com/jborgers/sonar-pmd/issues/504)
17+
* Include PMD 7.13.0
18+
1019
## [4.0.1](https://github.com/jborgers/sonar-pmd/tree/4.0.1) (2025-03-03)
1120
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.0..4.0.1)
1221

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<revision>4.0.2-SNAPSHOT</revision>
8787
<license.owner>SonarSource SA and others</license.owner>
8888
<license.mailto>mailto:jborgers AT jpinpoint DOT com; peter.paul.bakker AT stokpop DOT nl</license.mailto>
89-
<pmd.version>7.12.0</pmd.version>
89+
<pmd.version>7.13.0</pmd.version>
9090
<junit.jupiter.version>5.11.4</junit.jupiter.version>
9191
<mockito.version>5.15.2</mockito.version>
9292
<assertj.version>3.27.2</assertj.version>

0 commit comments

Comments
 (0)