feat(ql3): govern release version transitions

This commit is contained in:
whyour
2026-08-16 09:32:27 +08:00
parent 7130d77a76
commit bad8399cc3
24 changed files with 1462 additions and 128 deletions
+5 -1
View File
@@ -16,8 +16,12 @@ const {
const {
createClusterImageSbom,
} = require('../../scripts/ql3-cluster-image-sbom.cjs');
const {
readReleaseIdentity,
} = require('../../scripts/lib/ql3-release-identity.cjs');
const root = path.resolve(__dirname, '../..');
const version = readReleaseIdentity(root).version;
const revision = 'fixture-revision';
function createFixture(t, options = {}) {
@@ -164,7 +168,7 @@ function createFixture(t, options = {}) {
: 'QingLong 3.0 Cluster Admin',
...(isLocal || isWorker || isControl || image === 'admin'
? {
'org.opencontainers.image.version': '3.0.0-alpha.0',
'org.opencontainers.image.version': version,
}
: {}),
},