trilium/set-build.sh

3 lines
156 B
Bash
Raw Normal View History

2017-11-14 12:35:23 +08:00
#!/usr/bin/env bash
echo 'module.exports = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > services/build.js