You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9. Create a pull request from git in web or try to use script below. Be careful to base your branch on the correct "release" branch
132
-
```
133
-
curl -d '{"title": "release: cut the [version] release","body": "docs: update changelog","head": "[BRANCH]","base": "release"}' -X POST https://api.github.com/repos/NativeScript/nativescript-dev-webpack/pulls -H "Authorization: token ${GIT_TOKEN}"
134
-
```
135
-
10. Merge PR into release branch.
125
+
NOTE: Make sure the PR is based on release branch
136
126
137
-
11. If all checks has passed publish package. Usually the night builds will be triggered and the package will be ready to be released on the next day.
138
-
12. Don't forget to tag the release branch
127
+
6. Merge PR into release branch.
128
+
129
+
7. The merge will produce package with rc tag in npm. If all checks have passed, publish official package. Usually the night builds will be triggered and the package will be ready to be released on the next day.
130
+
131
+
8. Don't forget to tag the release branch
139
132
```
140
133
git tag [version]
141
-
git push tags
134
+
git push --tags
142
135
```
143
-
Tips to remove tags:
136
+
Only if needed to Tips to remove tags:
144
137
```
145
138
git push --delete origin [version]
146
139
git tag -d [version]
147
140
```
148
141
142
+
## Checkout master branch and bump version usually should be minor or major.
143
+
149
144
## Merge changes from release into master
150
145
146
+
## NOTE: Don't use git IDE/WEB
147
+
151
148

152
149
153
150
### Here are steps described in the diagram above.
154
151
155
152
1. Make sure you are in release branch:
156
153
```
157
-
git checkout release
158
-
git pull
154
+
git checkout release && git pull
159
155
```
160
156
2. Create PR to merge changes back in master and preserve history:
0 commit comments