diff --git a/get-version.sh b/get-version.sh new file mode 100644 index 000000000..9f3cc31d2 --- /dev/null +++ b/get-version.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# This script is used to extract the version string from the package.json file +echo "$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')" \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 000000000..ceb0bf7af --- /dev/null +++ b/package.json @@ -0,0 +1,4 @@ +{ + "name": "@herenotthere/dendrite-monolith", + "version": "1.0.34" +}