Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Sed explicit parameters (#71)
Browse files Browse the repository at this point in the history
* Sed replace fix (no . in date)

* Debug sed

* Explicit -e option

* Update sed
  • Loading branch information
jacogr authored and gavofyork committed Feb 12, 2018
1 parent a26255b commit 4edc466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4edc466

Please sign in to comment.