mirror of https://github.com/halo-dev/halo-admin
John Niang
6 years ago
committed by
GitHub
2 changed files with 8 additions and 7 deletions
@ -1,4 +1,6 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) |
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) |
||||||
echo "Halo admin version $PACKAGE_VERSION" |
echo "Halo admin version $PACKAGE_VERSION" |
||||||
zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist |
zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist |
||||||
|
|
||||||
|
export PACKAGE_VERSION |
Loading…
Reference in new issue