File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 7272 SKIP_CHANGELOG : ${{ steps.changelog.outputs.skip }}
7373 run : |
7474 set -eo pipefail
75+ if [ "${SKIP_CHANGELOG}" = "1" ]; then
76+ echo "[release] Skipping release automation until v2.0.0 changelog is available."
77+ echo "skip=true" >> "$GITHUB_OUTPUT"
78+ exit 0
79+ fi
7580 pnpm run release:version > version.log 2>&1 || STATUS=$?
7681 cat version.log
7782 if [ -n "$STATUS" ]; then
Original file line number Diff line number Diff line change 11import { spawnSync } from "node:child_process" ;
22
3- const skipChangelog = process . env . SKIP_CHANGELOG === "1" ;
43const args = [
54 "lerna" ,
65 "version" ,
76 "--yes" ,
87 "--no-commit-hooks" ,
98] ;
109
11- if ( skipChangelog ) {
12- args . push ( "--no-changelog" ) ;
13- console . log (
14- "[release] Skipping automatic changelog generation for this run." ,
15- ) ;
16- } else {
17- console . log (
18- "[release] Using Conventional Commits to generate the changelog." ,
19- ) ;
20- }
10+ console . log ( "[release] Using Conventional Commits to generate the changelog." ) ;
2111
2212const result = spawnSync ( "pnpm" , args , {
2313 stdio : "inherit" ,
You can’t perform that action at this time.
0 commit comments