have to add changed files to index before committing

This commit is contained in:
azivner 2017-12-25 21:06:35 -05:00
parent 87e7828440
commit 7e1cc729f9

View file

@ -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"