mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 06:06:18 -08:00
docs(release): synchronize release workflow guidance
This commit is contained in:
1 parent
6a65ee4efb
commit
ec2a8137f9
10 files changed
+192
-243
No files matched your search
@@ -15,6 +15,7 @@
|
||||
"{workspaceRoot}/tools/release/build-release-notes.mjs",
|
||||
"{workspaceRoot}/tools/release/screenshot-guards.mjs",
|
||||
"{workspaceRoot}/tools/release/screenshots.manifest.json",
|
||||
"{workspaceRoot}/.github/workflows/build-and-make.yaml",
|
||||
"{workspaceRoot}/tools/release/release-notes.test.mjs",
|
||||
"{workspaceRoot}/tools/release/release-note-gate.test.mjs",
|
||||
"{workspaceRoot}/tools/release/build-release-notes.test.mjs",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { tmpdir } from 'node:os';
|
||||
import path from 'node:path';
|
||||
import { after, describe, it } from 'node:test';
|
||||
@@ -610,6 +610,21 @@ describe('extractPublicSection', () => {
|
||||
});
|
||||
|
||||
describe('extract-changelog-section CLI contracts', () => {
|
||||
it('uses public extraction for authored tag-release text', () => {
|
||||
const workflow = readFileSync(
|
||||
new URL(
|
||||
'../../.github/workflows/build-and-make.yaml',
|
||||
import.meta.url
|
||||
),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
assert.match(
|
||||
workflow,
|
||||
/extract-changelog-section\.mjs --public "\$\{VERSION\}"/
|
||||
);
|
||||
});
|
||||
|
||||
it('parses the public flag', () => {
|
||||
assert.deepEqual(parseExtractArguments(['--public', '0.24.0']), {
|
||||
version: '0.24.0',
|
||||
|
||||
Reference in new issue
Block a user