Include published prereleases in adaptation pack checks. Publish signed adaptation packs as prereleases and let manual workflow runs stage a draft for release notes.
This commit is contained in:
1 parent
01f7b5769b
commit
bd7450d9a1
2 files changed
+14
-3
No files matched your search
@@ -105,9 +105,10 @@ function collectReleases(
|
||||
if (typeof entry !== 'object' || entry === null) continue;
|
||||
const release = entry as Record<string, unknown>;
|
||||
const tag = release['tag_name'];
|
||||
if (typeof tag !== 'string' || release['draft'] === true || release['prerelease'] === true) continue;
|
||||
if (typeof tag !== 'string' || release['draft'] === true) continue;
|
||||
|
||||
if (tag.startsWith('v')) {
|
||||
if (release['prerelease'] === true) continue;
|
||||
const version = AppReleaseVersionSchema.safeParse(tag.slice(1));
|
||||
if (!version.success) continue;
|
||||
const launcher = launcherRelease(release, version.data, repository);
|
||||
|
||||
Reference in new issue
Block a user