Skip to content

Commit c589932

Browse files
Merge branch 'develop' of github.com:GetStream/stream-chat-react-native into vishal/readme-update
2 parents 586c09d + 46e56bc commit c589932

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@babel/runtime": "7.13.10",
7373
"@gorhom/bottom-sheet": "3.6.4",
7474
"anchorme": "^1.1.2",
75-
"dayjs": "1.10.4",
75+
"dayjs": "1.10.5",
7676
"file-loader": "6.2.0",
7777
"i18next": "20.2.4",
7878
"lodash-es": "4.17.21",

package/yarn.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4207,12 +4207,7 @@ data-urls@^2.0.0:
42074207
whatwg-mimetype "^2.3.0"
42084208
whatwg-url "^8.0.0"
42094209

4210-
4211-
version "1.10.4"
4212-
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.4.tgz#8e544a9b8683f61783f570980a8a80eaf54ab1e2"
4213-
integrity sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==
4214-
4215-
dayjs@^1.8.15:
4210+
[email protected], dayjs@^1.8.15:
42164211
version "1.10.5"
42174212
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.5.tgz#5600df4548fc2453b3f163ebb2abbe965ccfb986"
42184213
integrity sha512-BUFis41ikLz+65iH6LHQCDm4YPMj5r1YFLdupPIyM4SGcXMmtiLQ7U37i+hGS8urIuqe7I/ou3IS1jVc4nbN4g==

release/prod.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
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

1313
if (process.env.GH_TOKEN || process.env.GITHUB_TOKEN) {
14-
const commitMessage = 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}';
14+
const commitMessage = 'chore(release): ${nextRelease.version} [skip ci]';
1515

1616
newConfig.plugins.push([
1717
'@semantic-release/exec',
1818
{
19-
prepareCmd: `git add --all && git commit -m "${commitMessage}" && git push origin master`,
19+
prepareCmd: `git diff-index --quiet HEAD -- ${process.cwd()}/* && exit 0 || (git add ${process.cwd()}/package.json && git add ${process.cwd()}/CHANGELOG.md && git commit -m "${commitMessage}" && git push origin master)`,
2020
},
2121
]);
2222

0 commit comments

Comments
 (0)