get qubes release
All checks were successful
/ lint (pull_request) Successful in 28s
/ deploy-edge (pull_request) Successful in 24s
/ build-edge (pull_request) Successful in 1m25s

This commit is contained in:
Antoine Martin 2024-08-16 01:07:02 -04:00
parent a78fccae28
commit e7adcc8716
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -5,8 +5,15 @@ set -eu -o pipefail
readonly BASEBRANCH=$(grep PRETTY_NAME /etc/os-release | awk '{print $3}' | tr -d '"')
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")