diff --git a/scripts/publish.sh b/scripts/publish.sh
index 5ae5463..0e39d6b 100755
--- a/scripts/publish.sh
+++ b/scripts/publish.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env sh
TAG=$1
-sed -ie "s|'com.github.DaikonWeb:daikon:.*'|'com.github.DaikonWeb:daikon:${TAG}'|g" README.md
-sed -ie "s|.*|${TAG}|g" README.md
+sed -i -e "s|'com.github.DaikonWeb:daikon:.*'|'com.github.DaikonWeb:daikon:${TAG}'|g" README.md
+sed -i -e "s|.*|${TAG}|g" README.md
git commit -am "Release ${TAG}"
git tag $TAG