Skip to content

Commit 2665630

Browse files
authored
update update_all_versions command (#3219)
Signed-off-by: Kevin Su <[email protected]>
1 parent 85af76b commit 2665630

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ publish_all_plugins:
1717
all_requirements:
1818
./run_all_plugins.sh pip-compile requirements.in --upgrade --verbose
1919

20-
PLACEHOLDER := "__version__\ =\ \"0.0.0+develop\""
21-
VERSION_FILE := "setup.py"
20+
PLACEHOLDER := __version__ = \"0.0.0+develop\"
21+
VERSION_FILE := setup.py
2222

2323
.PHONY: update_all_versions
2424
update_all_versions:
2525
# ensure the placeholder is there. If grep doesn't find the placeholder
2626
# it exits with exit code 1 and github actions aborts the build.
2727
./run_all_plugins.sh grep "$(PLACEHOLDER)" "$(VERSION_FILE)"
28-
./run_all_plugins.sh sed -i "s/$(PLACEHOLDER)/__version__ = \"${VERSION}\"/g" $(VERSION_FILE)
28+
./run_all_plugins.sh sed -i "s|$(PLACEHOLDER)|__version__ = \"${VERSION}\"|" $(VERSION_FILE)

0 commit comments

Comments
 (0)