diff --git a/get-version.sh b/get-version.sh index 9f3cc31d2..e04df4d2e 100644 --- a/get-version.sh +++ b/get-version.sh @@ -1,4 +1,3 @@ #!/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 +echo $(git log -1 --pretty=%h) \ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index ffb0ad06b..000000000 --- a/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "@herenotthere/dendrite-monolith", - "version": "1.0.38" -}