Skip to content

Commit 03653e8

Browse files
committed
update publish
1 parent 9b02c94 commit 03653e8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.ado/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function doPublish() {
3333
exec(`git remote set-url origin https://rnbot:${process.env.GIT_TOKEN}@github.com/microsoft/react-native.git`);
3434

3535
exec(`git add ${pkgJsonPath}`);
36-
exec(`git commit -m "Applying package update to ${releaseVersion}`);
36+
exec(`git commit -m "Applying package update to ${releaseVersion} ***NO_CI***`);
3737
exec(`git tag v${releaseVersion}`);
3838
exec(`git push origin HEAD:${tempPublishBranch} --follow-tags --verbose`);
3939
exec(`git push origin tag v${releaseVersion}`);

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- master
6-
paths:
7-
- "**"
8-
- "!package.json"
96

107
jobs:
118

@@ -15,6 +12,11 @@ jobs:
1512
runs-on: windows-2016
1613

1714
steps:
15+
16+
- name: No publish loop
17+
if: contains( github.event.head_commit, "***NO_CI***")
18+
run: exit 123
19+
1820
- uses: actions/checkout@v1
1921
with:
2022
submodules: true

0 commit comments

Comments
 (0)