Merge pull request #38 from marineam/branch

fix(branch_release): Include new SDK_VERSION variable.
This commit is contained in:
Michael Marineau 2013-07-17 17:41:40 -07:00
commit 4bc1c512b1

View File

@ -12,6 +12,7 @@ DEFINE_integer build "${TODAYS_VERSION}" \
DEFINE_integer branch 0 "Branch revision, should be 0" DEFINE_integer branch 0 "Branch revision, should be 0"
DEFINE_string patch 0 "Branch patch id, should be 0" DEFINE_string patch 0 "Branch patch id, should be 0"
DEFINE_string track "dev-channel" "Set the given track to this new branch" DEFINE_string track "dev-channel" "Set the given track to this new branch"
DEFINE_string sdk_version "${COREOS_SDK_VERSION}" "Set the SDK build to use"
DEFINE_boolean push ${FLAGS_FALSE} "Push to public manifest repository." DEFINE_boolean push ${FLAGS_FALSE} "Push to public manifest repository."
DEFINE_string remote "origin" "Remote name or URL to push to." DEFINE_string remote "origin" "Remote name or URL to push to."
@ -31,6 +32,7 @@ tee version.txt <<EOF
COREOS_BUILD=${FLAGS_build} COREOS_BUILD=${FLAGS_build}
COREOS_BRANCH=${FLAGS_branch} COREOS_BRANCH=${FLAGS_branch}
COREOS_PATCH=${FLAGS_patch} COREOS_PATCH=${FLAGS_patch}
COREOS_SDK_VERSION=${FLAGS_sdk_version}
EOF EOF
git add "${BRANCH_NAME}.xml" default.xml version.txt git add "${BRANCH_NAME}.xml" default.xml version.txt
info "Creating ${BRANCH_NAME} with tag ${TAG_NAME}" info "Creating ${BRANCH_NAME} with tag ${TAG_NAME}"