Skip to content

Commit

Permalink
Get version from capnp file
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed Feb 8, 2020
1 parent 41f01cf commit 07a1da6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .sandstorm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit 07a1da6

Please sign in to comment.