We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d903a commit 339abeaCopy full SHA for 339abea
apps/changelog/has-content-changes.ts
@@ -1,5 +1,13 @@
1
import {getChangelogsUncached} from './src/server/utils';
2
3
+try {
4
+ checkChanges();
5
+} catch (e) {
6
+ console.error(e);
7
+ // build in case of errors
8
+ process.exit(1);
9
+}
10
+
11
async function checkChanges() {
12
const {hash, changelogs} = await getChangelogsUncached();
13
console.log({changelogs});
@@ -27,4 +35,3 @@ async function checkChanges() {
27
35
// skip build
28
36
process.exit(0);
29
37
}
30
-checkChanges();
0 commit comments