diff --git a/.forgejo/bin/deploy.sh b/.forgejo/bin/deploy.sh index 8a209bc..770fccd 100755 --- a/.forgejo/bin/deploy.sh +++ b/.forgejo/bin/deploy.sh @@ -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")