Skip to content

Commit b427b57

Browse files
committed
fix build script
1 parent a384d66 commit b427b57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/banner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var version =
2-
process.env.VUE_ROUTER_VERSION ||
2+
process.env.VERSION ||
33
require('../package.json').version
44

55
module.exports =

build/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo # (optional) move to a new line
66
if [[ $REPLY =~ ^[Yy]$ ]]
77
then
88
echo "Releasing $VERSION ..."
9-
npm run build
9+
VERSION=$VERSION npm run build
1010
git add -A
1111
git commit -m "[build] $VERSION"
1212
npm version $VERSION --message "[release] $VERSION"

0 commit comments

Comments
 (0)