release: update release.sh to use Git for ports tree checkouts

MFC after:	immediately (pending re approval)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Glen Barber 2021-05-12 10:27:21 -04:00
parent 12dda000ed
commit 3f25cfea55

View File

@ -86,7 +86,7 @@ env_setup() {
# and ports/.
GITROOT="https://git.FreeBSD.org/"
SRCBRANCH="main"
PORTBRANCH="head"
PORTBRANCH="main"
GITSRC="src.git"
GITPORTS="ports.git"
@ -141,8 +141,7 @@ env_check() {
# Prefix the branches with the GITROOT for the full checkout URL.
SRC="${GITROOT}${GITSRC}"
#PORT="${GITROOT}${GITPORTS}"
PORT="svn://svn.freebsd.org/ports/"
PORT="${GITROOT}${GITPORTS}"
if [ -n "${EMBEDDEDBUILD}" ]; then
WITH_DVD=