feat: enhance GitHub release tracking with pattern support and version extraction
Build / build-8 (pull_request) Failing after 2m45s
Build / build-9 (pull_request) Failing after 8m40s

- Add github_release_pattern field to support multi-product repositories
- Implement get_github_releases_by_pattern() for filtered release matching
- Add parse_github_version_release() to extract version-release components
- Update openbao plugin packages with release patterns and correct versions
- Configure openbao-plugins meta package for manual versioning
- Fix HashiCorp package GitHub repository references
- Support complex tag formats like "secrets-consul-v0.1.0" and "v7.1.3-1"

This enables automatic updates for packages sharing GitHub repos while
maintaining proper RPM version/release semantics and backward compatibility.
This commit is contained in:
2025-12-30 21:22:48 +11:00
parent 1e7b06aa84
commit 66cb37fa32
41 changed files with 756 additions and 551 deletions
+17 -15
View File
@@ -1,18 +1,20 @@
---
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.21.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.21.1
description: Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
name: consul
github: hashicorp/consul
description: Consul is a distributed, highly available, and data center aware solution
to connect and configure applications across dynamic, distributed infrastructure.
arch: amd64
platform: linux
maintainer: HashiCorp
homepage: https://github.com/hashicorp/consul
license: BUSL-1.1
maintainer: HashiCorp
name: consul
platform: linux
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8
version: 1.22.2
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9
version: 1.22.2