index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2024-02-09 20:18:30 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-02-09 20:18:30 +0100 |
commit | 1cf402eae9d4b98f839ce9d116f807531cda7862 (patch) | |
tree | db3e40d3d3d6639e26e9315567fb3ea2f4687f73 /src/lib | |
parent | 0469d3c902d7b27dd56400e1fb229f47b011c4dc (diff) |
-rw-r--r-- | src/lib/build/build.sh | 5 |
diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh index 9bd1e5d..171bb9a 100644 --- a/src/lib/build/build.sh +++ b/src/lib/build/build.sh @@ -154,6 +154,7 @@ pkgctl_build() { (( $# <= 1 )) && die "missing argument for %s" "$1" pkgctl_build_check_option_group_repo '--repo' "${REPO}" "${TESTING}" "${STAGING}" REPO="${2}" + RELEASE_OPTIONS+=("--repo" "${REPO}") shift 2 ;; --arch) @@ -204,11 +205,13 @@ pkgctl_build() { -s|--staging) pkgctl_build_check_option_group_repo '--staging' "${REPO}" "${TESTING}" "${STAGING}" STAGING=1 + RELEASE_OPTIONS+=("--staging") shift ;; -t|--testing) pkgctl_build_check_option_group_repo '--testing' "${REPO}" "${TESTING}" "${STAGING}" TESTING=1 + RELEASE_OPTIONS+=("--testing") shift ;; -c|--clean) @@ -495,7 +498,7 @@ pkgctl_build() { # release the build if (( RELEASE )); then - pkgctl_release --repo "${pkgrepo}" "${RELEASE_OPTIONS[@]}" + pkgctl_release "${RELEASE_OPTIONS[@]}" fi # reset common PKGBUILD variables |