Skip to content

Commit 23882a5

Browse files
author
REDMOND\acoates
committed
fix
1 parent 40648cd commit 23882a5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.ado/publish.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function doPublish() {
4848

4949
exec(`git add ${pkgJsonPath}`);
5050
exec(`git commit -m "Applying package update to v${releaseVersion}`);
51+
exec(`git tag v${releaseVersion}`);
5152
exec(`git push origin HEAD:${tempPublishBranch} --follow-tags --verbose`);
5253

5354
// -------- Generating Android Artifacts with JavaDoc
@@ -113,13 +114,9 @@ function doPublish() {
113114
}
114115

115116
exec(`del ${npmTarPath}`);
116-
exec(`git tag v${releaseVersion}`);
117-
exec(
118-
`git push origin HEAD:${tempPublishBranch} --follow-tags --verbose`
119-
);
120117
exec(`git checkout ${publishBranchName}`);
121118
exec(`git pull origin ${publishBranchName}`);
122-
exec(`git merge ${publishBranchName} --no-edit`);
119+
exec(`git merge ${tempPublishBranch} --no-edit`);
123120
exec(
124121
`git push origin HEAD:${publishBranchName} --follow-tags --verbose`
125122
);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native",
3-
"version": "0.0.2",
3+
"version": "0.0.2-microsoft.0",
44
"description": "[Microsoft Fork] A framework for building native apps using React",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)