Skip to content

Commit 01cdef2

Browse files
committed
Remove the double quotes for the command sed -i as only needed for macos
Signed-off-by: Charles Moulliard <cmoulliard@ibm.com>
1 parent daee97a commit 01cdef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
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]"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)