File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 95
95
The PHP library uses [ semantic versioning] ( http://semver.org/ ) . Do not break
96
96
backwards compatibility in a non-major release or your users will kill you.
97
97
98
+ Before proceeding, ensure that the ` master ` branch is up-to-date with all code
99
+ changes in this maintenance branch. This is important because we will later
100
+ merge the ensuing release commits up to master with ` --strategy=ours ` , which
101
+ will ignore changes from the merged commits.
102
+
98
103
A version constant may be added at a later date (see:
99
104
[ PHPLIB-131] ( https://jira.mongodb.org/browse/PHPLIB-131 ) ). For now, there is
100
105
nothing to update.
@@ -113,6 +118,17 @@ $ git tag -a -m "Release X.Y.Z" X.Y.Z
113
118
$ git push --tags
114
119
```
115
120
121
+ ### Merge the maintenance branch up to master
122
+
123
+ ```
124
+ $ git checkout master
125
+ $ git merge vX.Y --strategy=ours
126
+ $ git push
127
+ ```
128
+
129
+ The ` --strategy=ours ` option ensures that all changes from the merged commits
130
+ will be ignored.
131
+
116
132
### Publish release notes
117
133
118
134
The following template should be used for creating GitHub release notes via
You can’t perform that action at this time.
0 commit comments