mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set some specific rules for RC during build
This commit is contained in:
parent
ce437697cd
commit
ea9d2cd377
@ -218,6 +218,7 @@ case "${POUDRIERE_PORTS_GIT_URL}" in
|
||||
esac
|
||||
|
||||
unset _IS_RELEASE
|
||||
unset _IS_RC
|
||||
unset CORE_PKG_DATESTRING
|
||||
export TIMESTAMP_SUFFIX="-${DATESTRING}"
|
||||
# pkg doesn't like - as version separator, use . instead
|
||||
@ -234,6 +235,7 @@ case "${PRODUCT_VERSION##*-}" in
|
||||
export CORE_PKG_DATESTRING=".b.${PKG_DATESTRING}"
|
||||
;;
|
||||
RC*)
|
||||
export _IS_RC=yes
|
||||
export CORE_PKG_DATESTRING=".r.${PKG_DATESTRING}"
|
||||
;;
|
||||
*)
|
||||
@ -265,7 +267,7 @@ export PKG_REPO_SERVER_DEVEL=${PKG_REPO_SERVER_DEVEL:-"pkg+https://beta.pfsense.
|
||||
export PKG_REPO_SERVER_RELEASE=${PKG_REPO_SERVER_RELEASE:-"pkg+https://beta.pfsense.org/packages"}
|
||||
export PKG_REPO_SERVER_STAGING=${PKG_REPO_SERVER_STAGING:-"pkg+http://${STAGING_HOSTNAME}/ce/packages"}
|
||||
|
||||
if [ -n "${_IS_RELEASE}" ]; then
|
||||
if [ -n "${_IS_RELEASE}" -o -n "${_IS_RC}" ]; then
|
||||
export PKG_REPO_BRANCH_RELEASE=${PKG_REPO_BRANCH_RELEASE:-${POUDRIERE_BRANCH}}
|
||||
export PKG_REPO_BRANCH_DEVEL=${PKG_REPO_BRANCH_DEVEL:-${POUDRIERE_BRANCH}}
|
||||
export PKG_REPO_BRANCH_STAGING=${PKG_REPO_BRANCH_STAGING:-${PKG_REPO_BRANCH_RELEASE}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user