Fix binTemplate.gst to use VERSION variable with current groowt version.

This commit is contained in:
Jesse Brault 2025-01-24 15:05:31 -06:00
parent 22b929225f
commit 8bc3d9d793

View File

@ -1,8 +1,10 @@
#/usr/bin/env bash #/usr/bin/env bash
VERSION="0.1.2"
if [ "\$1" == "--debug" ]; then if [ "\$1" == "--debug" ]; then
shift shift
gradle -q toolsJar && java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8192 -cp build/libs/web-view-components-compiler-tools-0.1.1.jar $mainClassName "\$@" gradle -q toolsJar && java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8192 -cp build/libs/web-view-components-compiler-tools-\$VERSION.jar $mainClassName "\$@"
else else
gradle -q toolsJar && java -cp build/libs/web-view-components-compiler-tools-0.1.1.jar $mainClassName "\$@" gradle -q toolsJar && java -cp build/libs/web-view-components-compiler-tools-\$VERSION.jar $mainClassName "\$@"
fi fi