-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -223,18 +223,10 @@ printf ' %s\n' "${packages[@]}" | |
printf "Confirm..." | ||
read <&1 | ||
|
||
if ((PACKAGES)); then | ||
svn checkout -N svn+ssh://[email protected]/srv/repos/svn-packages/svn "$TMPDIR/packages" | ||
pushd "$TMPDIR/packages" &>/dev/null | ||
fi | ||
svn update -- "${packages[@]}" | ||
pkgctl repo clone "${packages[@]}" | ||
|
||
for pkg in "${packages[@]}"; do | ||
pushd "$pkg/trunk" &>/dev/null | ||
|
||
if ! ((NO_BUMP)); then | ||
bump_pkgrel | ||
fi | ||
pushd "$pkg" &>/dev/null | ||
|
||
# This should help us figure out if the package is already built | ||
readarray -t pkgs < <(makepkg --packagelist) | ||
|
@@ -247,7 +239,7 @@ for pkg in "${packages[@]}"; do | |
if ! ((NO_BUILD)); then | ||
SKIP_BUILD=0 | ||
while true; do | ||
if offload-build -r "$BUILD"; then | ||
if pkgctl build --rebuild --staging; then | ||
break | ||
fi | ||
echo "We failed to build! You are in a subshell to fix the build. Exit the shell to build again." | ||
|
@@ -264,7 +256,7 @@ for pkg in "${packages[@]}"; do | |
fi | ||
fi | ||
if ! ((NO_PUBLISH)); then | ||
commitpkg "$REPO" "$message" | ||
pkgctl release --db-update --staging -m 'Rebuild with Python 3.12' | ||
fi | ||
fi | ||
popd &>/dev/null | ||
|