Add BRANCH=nightly to testing manifest if autosigning with nightly key
This makes the manifest actually usable for nightly nodes, whereas currently it's ignored because it doesn't contain that line.
This commit is contained in:
parent
3818c6edaa
commit
d08a6d0138
1
build.sh
1
build.sh
|
@ -146,6 +146,7 @@ make manifest GLUON_BRANCH=testing GLUON_PRIORITY=0
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if [ -n "$KEYFILE" -a -r "$KEYFILE" ]; then
|
if [ -n "$KEYFILE" -a -r "$KEYFILE" ]; then
|
||||||
|
sed -i -e "/^BRANCH=testing/ a BRANCH=nightly" "${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
|
||||||
"${GLUON_DIR}/contrib/sign.sh" "$KEYFILE" "${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
|
"${GLUON_DIR}/contrib/sign.sh" "$KEYFILE" "${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue