diff --git a/.sandstorm/build.sh b/.sandstorm/build.sh index ba728bc..7ca0b67 100755 --- a/.sandstorm/build.sh +++ b/.sandstorm/build.sh @@ -2,7 +2,7 @@ set -euo pipefail # Checkout desired version. -VERSION=$(cat /opt/app/VERSION) +VERSION=$(grep -oE 'appMarketingVersion = \(defaultText = "(.+)"' /opt/app/.sandstorm/sandstorm-pkgdef.capnp | cut -d '"' -f2) cd /opt/app/babybuddy git checkout v"${VERSION}" diff --git a/VERSION b/VERSION deleted file mode 100644 index 589268e..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -1.3.0 \ No newline at end of file