Skip to content

Commit f36c5c2

Browse files
wezellclaude
andcommitted
Update release workflow to only modify parent pom.xml
Child modules inherit dotcms-core.version from the parent, so updating every pom.xml is unnecessary. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 7a73bac commit f36c5c2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release-target.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ jobs:
3838
fi
3939
git checkout -b ${release_branch}
4040
41-
for file in $(find . -name pom.xml)
42-
do
43-
echo "Replacing version for ${file}"
44-
python3 ${{ github.workspace }}/update_osgi_plugins.py ${file} ${release_version}
45-
cat ${file} | grep "${release_version}"
46-
done
41+
echo "Replacing version in parent pom.xml"
42+
python3 ${{ github.workspace }}/update_osgi_plugins.py ./pom.xml ${release_version}
43+
grep "${release_version}" ./pom.xml
4744
4845
git status
4946
git commit -a -m "Updating dotcms version to ${release_version}"

0 commit comments

Comments
 (0)