mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 02:19:39 +02:00
modbuild: a default release stage can now be set in the header
This commit is contained in:
@@ -477,7 +477,10 @@ build_modules_yaml(){
|
||||
local idx="$4"
|
||||
_result=$(${yq} -Ne e ".\"${version}\"[${idx}].relstage" \
|
||||
"${fname}" 2>/dev/null)
|
||||
(( $? != 0 )) && relstage='unstable' || :
|
||||
(( $? == 0 )) && return
|
||||
_result=$(${yq} -Ne e ".relstage" "${fname}" 2>/dev/null)
|
||||
(( $? == 0 )) && return
|
||||
_result='unstable'
|
||||
}
|
||||
|
||||
yaml_get_overlay(){
|
||||
|
||||
Reference in New Issue
Block a user