Skip to content

Commit 92d9406

Browse files
committed
add release
1 parent 622ddca commit 92d9406

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
"peerDependencies": {
2525
"typescript": "^5.0.0"
2626
},
27-
"version": "0.0.0-pre.1719967046799"
27+
"version": "0.0.0-pre.1719967409932"
2828
}

src/scripts/release.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,18 @@ program
129129
process.exit(1);
130130
}
131131

132+
const ghCheckResult = await Bun.$`which gh`;
133+
if (ghCheckResult.exitCode !== 0) {
134+
console.error(
135+
`The 'gh' command is not installed. Please install it.
136+
137+
$ brew install gh
138+
139+
`,
140+
);
141+
process.exit(1);
142+
}
143+
132144
await cleanDist();
133145
const version = await getLocalVersion();
134146
const bumpedVersion = bumpVersion(version, type);

0 commit comments

Comments
 (0)