diff --git a/scripts/build_demo.sh b/scripts/build_demo.sh index 12331e98..ed218ffc 100755 --- a/scripts/build_demo.sh +++ b/scripts/build_demo.sh @@ -4,6 +4,9 @@ echo "Install Deno" curl -fsSL https://deno.land/install.sh | sh export PATH=~/.deno/bin:$PATH +echo "Generating version number..." +echo "export const version = '$(git rev-parse HEAD)';" > version.ts + echo "Building silver bullet" deno task build echo "Cleaning website build dir"