Skip to content
Snippets Groups Projects
Select Git revision
  • 1b3b12103cdca576ed263f3e2163b3539f293612
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-08-13
  • experimental-2025-08-13-base
  • experimental-2025-08-04
  • experimental-2025-08-04-base
  • experimental-2025-07-31
  • experimental-2025-07-31-base
  • experimental-2025-07-29
  • experimental-2025-07-29-base
  • experimental-2025-07-28
  • experimental-2025-07-28-base
  • experimental-2025-07-26
  • experimental-2025-07-26-base
  • experimental-2025-07-24
  • experimental-2025-07-24-base
  • experimental-2025-07-22
  • experimental-2025-07-22-base
  • experimental-2025-07-21
  • experimental-2025-07-21-base
  • experimental-2025-07-20
  • experimental-2025-07-20-base
41 results

modules

Blame
  • get-gluon-branch.sh 652 B
    #!/bin/bash
    
    set -eu
    set -o pipefail
    
    # autoupdater
    # ====
    #
    # This script prints the name of the autoupdater branch depending on the build
    # configuration. Its output is suitable for use as the GLUON_BRANCH build
    # variable of gluon.
    #
    # The idea is to take whatever comes in the GLUON_BRANCH build variable,
    # except when this value is not one of the well-known branch names; then fall
    # back to 'nightly'.
    
    default_gluon_branch_name="nightly"
    
    case "${GLUON_BRANCH:-}" in
        "nightly" | "beta" | "stable")
            gluon_branch="$GLUON_BRANCH"
            ;;
        *):
            gluon_branch="$default_gluon_branch_name"
            ;;
    esac
    
    echo $gluon_branch