diff --git a/Makefile b/Makefile index 5dd3199..3076774 100644 --- a/Makefile +++ b/Makefile @@ -10,5 +10,5 @@ version: @if [ "$(CURRENT)" != "$(EXPECTED)" ]; then git tag -a "$(INCREMENTED)" -m "" 2>/dev/null || true; fi version2: - @sed -i "" "s/0.0.0/$(shell git describe)/g" pom.xml - @sed -i "" "s/0.0.0/$(shell git describe)/g" src/main/java/com/smartystreets/api/Version.java + @sed -i "" "s/0\.0\.0/$(shell git describe)/" pom.xml + @sed -i "" "s/0\.0\.0/$(shell git describe)/" src/main/java/com/smartystreets/api/Version.java