From 7e1cc729f9959ba8ecfd0762e19af64b7d3b8b95 Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 25 Dec 2017 21:06:35 -0500 Subject: [PATCH] have to add changed files to index before committing --- bin/release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/release.sh b/bin/release.sh index 559a09fdb..58037eede 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -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"