From 31ff4088bf15a732800fe93514eb95ecb2edb67a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Dec 2025 16:04:30 +0000 Subject: [PATCH 1/2] Initial plan From fc7554da0202fb42e7ccb50e058c9dd41f1a4803 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Dec 2025 16:07:10 +0000 Subject: [PATCH 2/2] Fix duplicated POM file lists: use find command and glob patterns Co-authored-by: kaikreuzer <3244965+kaikreuzer@users.noreply.github.com> --- .github/workflows/release.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd90e27f..cebd9cec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,14 +112,7 @@ jobs: - name: Collect all POM files for commit run: | # Add all modified POM files - git add pom.xml - git add custom-checks/pom.xml - git add custom-checks/checkstyle/pom.xml - git add custom-checks/findbugs/pom.xml - git add custom-checks/pmd/pom.xml - git add sat-extension/pom.xml - git add sat-plugin/pom.xml - git add codestyle/pom.xml + git add **/pom.xml - name: Create and push release tag run: | @@ -135,7 +128,7 @@ jobs: - name: Update parent POM versions in modules to snapshot run: | # Update parent version in all child POMs - for pom in custom-checks/pom.xml custom-checks/checkstyle/pom.xml custom-checks/findbugs/pom.xml custom-checks/pmd/pom.xml sat-extension/pom.xml sat-plugin/pom.xml codestyle/pom.xml; do + for pom in $(find custom-checks sat-extension sat-plugin codestyle -name pom.xml); do if [ -f "$pom" ]; then mvn versions:update-parent -DparentVersion=${{ github.event.inputs.next_snapshot_version }} -f "$pom" mvn versions:commit -f "$pom" @@ -150,14 +143,7 @@ jobs: - name: Commit and push snapshot version run: | # Add all modified POM files - git add pom.xml - git add custom-checks/pom.xml - git add custom-checks/checkstyle/pom.xml - git add custom-checks/findbugs/pom.xml - git add custom-checks/pmd/pom.xml - git add sat-extension/pom.xml - git add sat-plugin/pom.xml - git add codestyle/pom.xml + git add **/pom.xml git commit -m "Prepare for next development iteration: ${{ github.event.inputs.next_snapshot_version }}" git push origin