forked from cerc-io/laconic-console
Thomas E Lackey
9dcbc6e657
Reviewed-on: cerc-io/laconic-console#44 Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
9 lines
242 B
Bash
Executable File
9 lines
242 B
Bash
Executable File
#/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\""
|