Loading ansi-colors.sh 0 → 100644 +21 −0 Original line number Diff line number Diff line # provide some variables to get colorful output DARKGRAY='0;30' RED='0;31' BOLDRED='1;31' GREEN='0;32' BOLDGREEN='1;32' YELLOW='0;33' BOLDYELLOW='1;33' BLUE='0;34' BOLDBLUE='1;34' PURPLE='0;35' BOLDPURPLE='1;35' CYAN='0;36' WHITE='1;37' echo_color() { # $1: the color # $2: the string echo -e "\e[${1}m${2}\e[0m" } ci-release.sh +4 −3 Original line number Diff line number Diff line Loading @@ -23,19 +23,20 @@ if [ ! -d "site" ]; then echo "This script must be called from within the site directory" return fi . site/ansi-colors.sh rm -rf output for TARGET in \ ar71xx-generic ar71xx-tiny ar71xx-nand brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic ramips-mt7621 x86-generic x86-geode x86-64 do echo "Starting work on target $TARGET" echo_color "$BOLDGREEN" "Starting work on target $TARGET" # GLUON_BRANCH configures the default autoupdater branch. run_and_print make GLUON_TARGET="$TARGET" GLUON_BRANCH=stable GLUON_RELEASE="$RELEASE_VERSION" update run_and_print make GLUON_TARGET="$TARGET" GLUON_BRANCH=stable GLUON_RELEASE="$RELEASE_VERSION" -j$JOBS echo -e "\n\n\n============================================================\n\n" done echo "Compilation complete, creating and signing manifest(s)" echo_color "$BOLDGREEN" "Compilation complete, creating and signing manifest(s)" run_and_print make GLUON_BRANCH=experimental GLUON_RELEASE=$RELEASE_VERSION manifest run_and_print contrib/sign.sh $SIGNING_KEY output/images/sysupgrade/experimental.manifest Loading @@ -56,4 +57,4 @@ then fi cd site echo "Done :)" echo_color "$BOLDGREEN" "Done :)" Loading
ansi-colors.sh 0 → 100644 +21 −0 Original line number Diff line number Diff line # provide some variables to get colorful output DARKGRAY='0;30' RED='0;31' BOLDRED='1;31' GREEN='0;32' BOLDGREEN='1;32' YELLOW='0;33' BOLDYELLOW='1;33' BLUE='0;34' BOLDBLUE='1;34' PURPLE='0;35' BOLDPURPLE='1;35' CYAN='0;36' WHITE='1;37' echo_color() { # $1: the color # $2: the string echo -e "\e[${1}m${2}\e[0m" }
ci-release.sh +4 −3 Original line number Diff line number Diff line Loading @@ -23,19 +23,20 @@ if [ ! -d "site" ]; then echo "This script must be called from within the site directory" return fi . site/ansi-colors.sh rm -rf output for TARGET in \ ar71xx-generic ar71xx-tiny ar71xx-nand brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic ramips-mt7621 x86-generic x86-geode x86-64 do echo "Starting work on target $TARGET" echo_color "$BOLDGREEN" "Starting work on target $TARGET" # GLUON_BRANCH configures the default autoupdater branch. run_and_print make GLUON_TARGET="$TARGET" GLUON_BRANCH=stable GLUON_RELEASE="$RELEASE_VERSION" update run_and_print make GLUON_TARGET="$TARGET" GLUON_BRANCH=stable GLUON_RELEASE="$RELEASE_VERSION" -j$JOBS echo -e "\n\n\n============================================================\n\n" done echo "Compilation complete, creating and signing manifest(s)" echo_color "$BOLDGREEN" "Compilation complete, creating and signing manifest(s)" run_and_print make GLUON_BRANCH=experimental GLUON_RELEASE=$RELEASE_VERSION manifest run_and_print contrib/sign.sh $SIGNING_KEY output/images/sysupgrade/experimental.manifest Loading @@ -56,4 +57,4 @@ then fi cd site echo "Done :)" echo_color "$BOLDGREEN" "Done :)"