Skip to content

Commit

Permalink
Only replacing the first '0.0.0' instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver, Jonathan committed Jun 3, 2016
1 parent 946aed4 commit 0c0c7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0c0c7fe

Please sign in to comment.