File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4747 NEW_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
4848
4949 echo "Bump the yaml rules containing the snowdrop openrewrite recipes jar too"
50- find cookbook/rules -name "*.yaml" -exec sed -i "" " s|dev.snowdrop.mtool:openrewrite-recipes:[0-9.]*\(-SNAPSHOT\)\{0,1\}|dev.snowdrop.mtool:openrewrite-recipes:$PROJECT_VERSION|g" {} +
50+ find cookbook/rules -name "*.yaml" -exec sed -i "s|dev.snowdrop.mtool:openrewrite-recipes:[0-9.]*\(-SNAPSHOT\)\{0,1\}|dev.snowdrop.mtool:openrewrite-recipes:$PROJECT_VERSION|g" {} +
5151
5252 git add .
5353 git commit -m "chore: Bump the project to version: $NEW_VERSION [skip ci]"
Original file line number Diff line number Diff line change 6060 run : |
6161 VERSION=${{ github.event.inputs.version }}
6262 echo "Bump the yaml rules containing the snowdrop openrewrite recipes jar too"
63- find cookbook/rules -name "*.yaml" -exec sed -i "" " s|dev.snowdrop.mtool:openrewrite-recipes:[0-9.]*\(-SNAPSHOT\)\{0,1\}|dev.snowdrop.mtool:openrewrite-recipes:$PROJECT_VERSION|g" {} +
63+ find cookbook/rules -name "*.yaml" -exec sed -i "s|dev.snowdrop.mtool:openrewrite-recipes:[0-9.]*\(-SNAPSHOT\)\{0,1\}|dev.snowdrop.mtool:openrewrite-recipes:$PROJECT_VERSION|g" {} +
6464
6565 - name : Commit the changes
6666 run : |
You can’t perform that action at this time.
0 commit comments