fix: repair GitHub release publish workflow

This commit is contained in:
2026-03-07 19:43:35 -08:00
parent e18985fb14
commit f0418c6e56
4 changed files with 80 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
import test from 'node:test';
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import { resolve } from 'node:path';
const releaseWorkflowPath = resolve(__dirname, '../.github/workflows/release.yml');
const releaseWorkflow = readFileSync(releaseWorkflowPath, 'utf8');
test('publish release leaves prerelease unset so gh creates a normal release', () => {
assert.ok(!releaseWorkflow.includes('--prerelease'));
});