2019-05-21 04:14:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
|
|
|
|
echo "Halo admin version $PACKAGE_VERSION"
|
2019-05-21 08:19:45 +00:00
|
|
|
zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist
|
|
|
|
|
|
|
|
export PACKAGE_VERSION
|