updater-postgresql-18.0 — postgresql → 18.0 (#12927)

* Remove rebases from Build and Generate PR workflows & adjust versioning to handle libdb.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add unbuilt postgresql to updater-postgresql-18.0

* updater-postgresql-18.0: Build Run on linux/arm/v7.

* updater-postgresql-18.0: Build Run on linux/amd64.

* updater-postgresql-18.0: Package File Update Run on linux/amd64 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-09-25 13:43:57 -04:00
committed by GitHub
parent 08103885c8
commit 40f766b34c
8 changed files with 1059 additions and 999 deletions

View File

@@ -75,6 +75,8 @@ class PackageUtils
end
def self.get_clean_version(pkg_version)
# Delete debian versions for packages like libdb.
pkg_version.gsub!(/-dfsg.*/, '')
# Delete -gcc14, futureproofed until gcc 100
pkg_version.gsub!(/-gcc\d{2}/, '')
# Trim kde- suffixes in qt5 packages so nothing else gets confused.
@@ -90,7 +92,7 @@ class PackageUtils
# Delete -glibc2.37, or whatever the system glibc is.
pkg_version.delete_suffix!("-glibc#{LIBC_VERSION}")
# Delete git version tags (1.2.4-qnd73k6), avoiding overmatching and hitting things that arent git hashtags.
pkg_version.gsub!(/-[\w]{7}$/, '')
pkg_version.gsub!(/-\w{7}$/, '')
# Delete -icu75.1, futureproofed until icu 100
pkg_version.gsub!(/-icu\d{2}\.\d/, '')