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"