aboutsummaryrefslogtreecommitdiff
path: root/deployment/common.build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/common.build.sh')
-rwxr-xr-xdeployment/common.build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/common.build.sh b/deployment/common.build.sh
index d028e3a66..000872ea9 100755
--- a/deployment/common.build.sh
+++ b/deployment/common.build.sh
@@ -17,12 +17,12 @@ DEFAULT_PKG_DIR="pkg-dist"
DEFAULT_DOCKERFILE="Dockerfile"
DEFAULT_ARCHIVE_CMD="tar -xvzf"
-# Parse the version from the AssemblyVersion
+# Parse the version from the build.yaml version
get_version()
(
local ROOT=${1-$DEFAULT_ROOT}
- grep "AssemblyVersion" ${ROOT}/SharedVersion.cs \
- | sed -E 's/\[assembly: ?AssemblyVersion\("([0-9\.]+)"\)\]/\1/'
+ grep "version:" ${ROOT}/build.yaml \
+ | sed -E 's/version: "([0-9\.]+.*)"/\1/'
)
# Run a build