Update version (#44)

Reviewed-on: #44
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
This commit was merged in pull request #44.
This commit is contained in:
2024-01-15 21:12:31 +00:00
committed by telackey
parent 3458f454a6
commit 9dcbc6e657
4 changed files with 15 additions and 6 deletions
+8
View File
@@ -0,0 +1,8 @@
#/bin/bash
NAME=`cat package.json | jq '.name'`
VERSION=`cat package.json | jq '.version'`
DATE=`date --rfc-3339=seconds`
echo '{"build": {}}' | jq ".build.name = $NAME" | jq ".build.version = $VERSION" | jq ".build.buildDate = \"$DATE\""