trilium/set-build.sh
2017-11-13 23:35:23 -05:00

3 lines
No EOL
156 B
Bash
Executable file

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