Skip to content

Commit d607f39

Browse files
committed
chore: fix copy/paste error
1 parent cac1748 commit d607f39

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

release/prod.js

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1-
const semanticRelease = require('semantic-release');
2-
const configPromise = require('./release.config.js');
1+
const semanticRelease = require("semantic-release");
2+
const configPromise = require("./release.config.js");
33

44
configPromise.then((config) => {
55
const currentPackage = require(`${process.cwd()}/package.json`);
6-
const isSDK = currentPackage.name === 'stream-chat-react-native-core';
6+
const isSDK = currentPackage.name === "stream-chat-react-native-core";
77

88
const newConfig = {
99
...config,
10-
branches: ['master'],
10+
branches: ["master"],
1111
};
1212
if (process.env.GH_TOKEN || process.env.GITHUB_TOKEN) {
13-
newConfig.plugins.push(
14-
plugins.push([
15-
'@semantic-release/git',
16-
{
17-
assets: [
18-
`${process.cwd()}/package.json`,
19-
`${process.cwd()}/yarn.lock`,
20-
`${process.cwd()}/CHANGELOG.md`,
21-
],
22-
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
23-
},
24-
]),
25-
);
13+
newConfig.plugins.push([
14+
"@semantic-release/git",
15+
{
16+
assets: [
17+
`${process.cwd()}/package.json`,
18+
`${process.cwd()}/yarn.lock`,
19+
`${process.cwd()}/CHANGELOG.md`,
20+
],
21+
message:
22+
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
23+
},
24+
]);
2625

2726
if (isSDK) {
28-
plugins.push('@semantic-release/github');
27+
plugins.push("@semantic-release/github");
2928
}
3029
}
3130
return semanticRelease(newConfig);

0 commit comments

Comments
 (0)