Now we can build a particular tag

This commit is contained in:
2015-08-20 17:35:43 +02:00
parent 82df5bffea
commit eb43a3188a
3 changed files with 24 additions and 6 deletions

View File

@ -10,6 +10,7 @@ SRC_DIR="${BASE_DIR}/src"
PROJECT_NAME=${1}
BUILD_BRANCH=${2}
BUILD_DIR=${3}
BUILD_TAG=${4}
function build_project()
{
@ -19,6 +20,7 @@ function build_project()
set_opt project_name "${PROJECT_NAME}"
set_opt build_dir "${BUILD_DIR}"
set_opt build_branch "${BUILD_BRANCH}"
set_opt build_tag "${BUILD_TAG}"
local workspace=$(mktemp -p ${BUILD_DIR} -d)/${PROJECT_NAME}
info "Build dir is ${workspace}"