have to add changed files to index before committing

pull/255/head
azivner 2017-12-25 21:06:35 +07:00
parent 87e7828440
commit 7e1cc729f9
1 changed files with 4 additions and 0 deletions

@ -22,8 +22,12 @@ echo "Releasing Trilium $VERSION"
jq '.version = "'$VERSION'"' package.json|sponge package.json
git add package.json
echo 'module.exports = { build_date:"'`date --iso-8601=seconds`'", build_revision: "'`git log -1 --format="%H"`'" };' > services/build.js
git add services/build.js
TAG=v$VERSION
echo "Committing package.json version change"