Allow git describe formatted versions of node packs in workflows (#3518)

This commit is contained in:
Christian Byrne
2025-04-20 09:42:01 +08:00
committed by GitHub
parent 8afe99f48c
commit 6be381b15d
3 changed files with 35 additions and 6 deletions

View File

@@ -178,7 +178,10 @@ describe('parseComfyWorkflow', () => {
// Git hash
'080e6d4af809a46852d1c4b7ed85f06e8a3a72be',
// Special case
'unknown'
'unknown',
// Git describe
'v0.3.9-7-g1419dee',
'v0.3.9-7-g1419dee-dirty'
]
it.each(validVersionStrings)('valid version: %s', async (ver) => {
const workflow = JSON.parse(JSON.stringify(defaultGraph))