mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-13 15:14:08 +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:
parent
65e55a8b2c
commit
5b1ddd0b37
@ -32,7 +32,8 @@ install_yq() {
|
|||||||
|
|
||||||
get_from_kata_deps() {
|
get_from_kata_deps() {
|
||||||
local dependency="$1"
|
local dependency="$1"
|
||||||
local branch="${2:-master}"
|
BRANCH=${BRANCH:-master}
|
||||||
|
local branch="${2:-${BRANCH}}"
|
||||||
local runtime_repo="github.com/kata-containers/runtime"
|
local runtime_repo="github.com/kata-containers/runtime"
|
||||||
GOPATH=${GOPATH:-${HOME}/go}
|
GOPATH=${GOPATH:-${HOME}/go}
|
||||||
# We will not query the local versions.yaml file here to allow releases to
|
# We will not query the local versions.yaml file here to allow releases to
|
||||||
|
Loading…
Reference in New Issue
Block a user