Sed explicit parameters (#71)

* Sed replace fix (no . in date)

* Debug sed

* Explicit -e option

* Update sed
This commit is contained in:
Jaco Greeff authored and Gav Wood committed 2018-02-12 14:28:43 +03:00
1 parent 71261bb7c6
commit 72fa8f3fe2
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ done
if [ -f "package.json" ]; then
echo "*** Updating package.json"
sed -i '.bak' "s/\"version\": \"[0-9.]*\"/\"version\": \"$UTCDATE\"/g" package.json
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"$UTCDATE\"/g" package.json
rm -rf package.json.bak
fi