Add deployment

This commit is contained in:
2017-02-07 21:12:08 +08:00
parent d6d4e51ea3
commit b15191aa0e
3 changed files with 36 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g' \
| tr -d '[[:space:]]')
echo $PACKAGE_VERSION > dist/VERSION