From 3ebbf2cc46f9182bc835af08a726c650beebad5d Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 9 Apr 2018 22:30:11 -0400 Subject: [PATCH] fix generating build.js --- bin/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/release.sh b/bin/release.sh index 5759da04d..0967443ea 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -24,9 +24,9 @@ jq '.version = "'$VERSION'"' package.json|sponge package.json git add package.json -echo 'module.exports = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > services/build.js +echo 'module.exports = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > src/services/build.js -git add services/build.js +git add src/services/build.js TAG=v$VERSION