diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2019-03-30 15:45:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-30 15:45:11 -0400 |
| commit | c032a015a44a042f3428cbd8dda0f154e3232b4e (patch) | |
| tree | 3392b2bf8097b7c9c2aaaf1cc8a33efa2024b15f /deployment | |
| parent | 11e81b035ae2552315fcd42375dfc4f6333ed4e5 (diff) | |
| parent | 891a03c038e8ef451d6db3361fefcbf964a7065e (diff) | |
Merge pull request #1172 from joshuaboniface/build-improvements
Minor improvements to release build setup
Diffstat (limited to 'deployment')
| -rwxr-xr-x | deployment/common.build.sh | 6 |
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 |
