mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
lib: versions: use branch variable
If branch is provided not use master. When buiding packages the master repository is used this is bad for stable releases. Use the BRANCH variable exported in releases. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -32,7 +32,8 @@ install_yq() {
|
||||
|
||||
get_from_kata_deps() {
|
||||
local dependency="$1"
|
||||
local branch="${2:-master}"
|
||||
BRANCH=${BRANCH:-master}
|
||||
local branch="${2:-${BRANCH}}"
|
||||
local runtime_repo="github.com/kata-containers/runtime"
|
||||
GOPATH=${GOPATH:-${HOME}/go}
|
||||
# We will not query the local versions.yaml file here to allow releases to
|
||||
|
Reference in New Issue
Block a user