Adding support for package versionning

Create a tag with release/X.X.X to change the package version
This commit is contained in:
2015-08-20 16:29:36 +02:00
parent a4b739dc97
commit 8aec313e11
3 changed files with 44 additions and 23 deletions

View File

@ -8,7 +8,8 @@ source "${TAMARIN_UTIL}"
DIST_DIR="${BASE_DIR}/dist"
SRC_DIR="${BASE_DIR}/src"
PROJECT_NAME=${1}
BUILD_DIR=${2}
BUILD_BRANCH=${2}
BUILD_DIR=${3}
function build_project()
{
@ -17,6 +18,7 @@ function build_project()
set_opt project_name "${PROJECT_NAME}"
set_opt build_dir "${BUILD_DIR}"
set_opt build_branch "${BUILD_BRANCH}"
local workspace=$(mktemp -p ${BUILD_DIR} -d)/${PROJECT_NAME}
info "Build dir is ${workspace}"