Skip to content

Commit 5c030f4

Browse files
committed
Add summary comment
1 parent 78d71fb commit 5c030f4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎pr-checks/update-release-branch.ts‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
#!/usr/bin/env npx tsx
22

3+
/**
4+
* Creates a release preparation branch and opens a PR to merge changes from a
5+
* source branch into a target release branch.
6+
*
7+
* For primary releases this merges `main` into the latest `releases/vN` branch.
8+
* For backports this merges a newer release branch into an older one, handling
9+
* version number and changelog migration automatically.
10+
*
11+
* Usage:
12+
* update-release-branch.ts \
13+
* --repository-nwo github/codeql-action \
14+
* --source-branch main \
15+
* --target-branch releases/v4 \
16+
* --conductor username \
17+
* [--is-primary-release] \
18+
* [--dry-run]
19+
*/
20+
321
import { execFileSync, type ExecFileSyncOptions } from "node:child_process";
422
import * as fs from "node:fs";
523
import { parseArgs } from "node:util";

0 commit comments

Comments
 (0)