@@ -154,7 +154,22 @@ $ git push -u origin tmp_prepare_release
154
154
$ # Then create a PR for tmp_prepare_release
155
155
```
156
156
157
- Create a pull request from your temporary branch into the ` main ` branch.
157
+ Create a pull request from your temporary branch into the ` main ` branch.
158
+ In its description, use the following message (don't forget to change the vX.Y.0 by your version number):
159
+ ``` markdown
160
+ **Please check if the PR fulfills these requirements**
161
+ <!-- please use `'[x]'` to check the checkboxes, or submit the PR and then click the checkboxes -->
162
+ - [X] The commit message follows our guidelines
163
+
164
+
165
+ **What kind of change does this PR introduce?**
166
+ <!-- Bug fix, feature, docs update, ... -->
167
+ Prepare release vX.Y.0
168
+
169
+ **Other information**:
170
+ :warning: **DO NOT** squash the commits, merge with fast-forward locally
171
+ ```
172
+
158
173
Wait until all the CI criteria are fully validated. Then add a commit for your next snapshot version.
159
174
You can then push again.
160
175
@@ -176,6 +191,8 @@ $ git push
176
191
```
177
192
After that, create your tag:
178
193
``` shell
194
+ $ git log --oneline -2
195
+ $ # Retrieve the commit hash of the second line, and use it in the following instruction
179
196
$ git tag -s vX.Y.0 < hash of the corresponding commit (bumping to vX.Y.0)>
180
197
$ git push origin vX.Y.0
181
198
```
@@ -194,6 +211,8 @@ On your repository, checkout to the release tag. You can then package and deploy
194
211
$ git status
195
212
$ # Your local repository should be clean
196
213
$ git checkout tags/vX.Y.0
214
+ $ git log --oneline -1
215
+ $ # Check that the last commit is indeed the "Bump to X.Y.0" commit
197
216
$ mvn dependency:purge-local-repository
198
217
$ mvn clean package -Prelease
199
218
$ mvn deploy -Prelease -DskipTests
0 commit comments