get qubes release
This commit is contained in:
parent
a78fccae28
commit
e7adcc8716
1 changed files with 8 additions and 1 deletions
|
@ -5,8 +5,15 @@ set -eu -o pipefail
|
||||||
|
|
||||||
readonly BASEBRANCH=$(grep PRETTY_NAME /etc/os-release | awk '{print $3}' | tr -d '"')
|
readonly BASEBRANCH=$(grep PRETTY_NAME /etc/os-release | awk '{print $3}' | tr -d '"')
|
||||||
readonly TARGET_REPO=$CI_ALPINE_REPO
|
readonly TARGET_REPO=$CI_ALPINE_REPO
|
||||||
readonly QUBES_REL=$GITHUB_BASE_REF
|
|
||||||
|
|
||||||
|
get_qubes_release() {
|
||||||
|
case $BASEBRANCH in
|
||||||
|
r*) echo $BASEBRANCH;;
|
||||||
|
main) echo r4.3;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly QUBES_REL=$(get_qubes_release $GITHUB_BASE_REF)
|
||||||
|
|
||||||
apkgs=$(find package -type f -name "*.apk")
|
apkgs=$(find package -type f -name "*.apk")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue