Skip to content

Commit 6cc327a

Browse files
committed
fix sed command
Signed-off-by: David Ranum <[email protected]>
1 parent db57331 commit 6cc327a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/update_files_with_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ last_org=`echo $last_org | sed -e 's/^[[:space:]]*//'`
4343

4444
if [ "${DOCKER_ORG}" != "${last_org}" ]; then
4545
>&2 echo "Updating ${values_yaml} to org = ${DOCKER_ORG}/${DOCKER_REPO}"
46-
sed -i -e 's/\(\s*repository:\).*/\1 '${DOCKER_ORG}'\/'${DOCKER_REPO}'/' ${values_yaml}
46+
sed -i -e 's_\(\s*repository:\).*_\1 '${DOCKER_ORG}'\/'${DOCKER_REPO}'_' ${values_yaml}
4747
updates=$((updates+1))
4848
fi
4949

@@ -105,4 +105,4 @@ if [[ ${last_gradle_tag} != ${VERSION} ]]; then
105105
fi
106106

107107
echo $updates
108-
exit 0
108+
exit 0

0 commit comments

Comments
 (0)