Skip to content

Commit 16fde53

Browse files
chore(automation): find replace pom.xml at all levels
1 parent 2775d3e commit 16fde53

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release-prep.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,20 @@ jobs:
2424
replace: 'version: ${{ github.event.inputs.targetRelease }}'
2525
regex: false
2626
include: "mkdocs.yml"
27-
- name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in pom.xml
27+
- name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in main pom.xml
2828
uses: jacobtomlinson/gha-find-replace@v2
2929
with:
3030
find: ${{ env.CURRENT_VERSION }}
3131
replace: ${{ github.event.inputs.targetRelease }}
3232
regex: false
3333
include: "pom.xml"
34+
- name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in modules pom.xml
35+
uses: jacobtomlinson/gha-find-replace@v2
36+
with:
37+
find: ${{ env.CURRENT_VERSION }}
38+
replace: ${{ github.event.inputs.targetRelease }}
39+
regex: false
40+
include: "**/*pom.xml"
3441
- name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in build.gradle
3542
uses: jacobtomlinson/gha-find-replace@v2
3643
with:

0 commit comments

Comments
 (0)