Sed explicit parameters (#71)

* Sed replace fix (no . in date)

* Debug sed

* Explicit -e option

* Update sed
This commit is contained in:
Jaco Greeff
2018-02-12 12:28:43 +01:00
committed by Gav Wood
parent 71261bb7c6
commit 72fa8f3fe2
+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