There was an error while loading. Please reload this page.
1 parent 94d3e9e commit 74f8912Copy full SHA for 74f8912
1 file changed
wf/bump-version.sh
@@ -26,7 +26,7 @@ case "$LEVEL" in
26
esac
27
NEW="${MAJOR}.${MINOR}.${PATCH}"
28
29
-sed -i.bak "s/^version = '${OLD}'\$/version = '${NEW}'/" "$FILE"
+sed -i.bak "s/^version = '${OLD//./\\.}'\$/version = '${NEW}'/" "$FILE"
30
rm "$FILE.bak"
31
32
cd "$ROOT"
0 commit comments