Skip retained published archives when planning builds
This commit is contained in:
1 parent
cc143f7352
commit
9d5c3eea19
5 files changed
+96
-4
No files matched your search
+2
-2
@@ -172,8 +172,8 @@ check_package() {
|
||||
# it because that exact filename is already published with different bytes.
|
||||
# If the artifact for this version already exists in the channel, there is
|
||||
# nothing to build regardless of which direction the versions differ.
|
||||
if compgen -G "$REPO_ROOT/$mirror/$ARCH/${pkg}-${pkgbuild_version}-*.pkg.tar."[!s]* >/dev/null 2>&1; then
|
||||
print_warning "$pkg $pkgbuild_version is already published — this checkout is behind the channel; not queueing"
|
||||
if package_version_is_published "$REPO_ROOT/$mirror/$ARCH" "$pkg" "$pkgbuild_version" "$ARCH"; then
|
||||
print_warning "$pkg $pkgbuild_version is already published; not queueing"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user