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
Copy file name to clipboardExpand all lines: RELEASING.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ Update master to the next release version:
190
190
191
191
1. Set the version number in Java class: [`org.locationtech.jts.JTSVersion`](https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/JTSVersion.java)
192
192
193
-
Change release version: (e.g.)
193
+
Change release version from (e.g.):
194
194
195
195
```
196
196
public static final int MAJOR = 1;
@@ -199,7 +199,7 @@ Update master to the next release version:
199
199
private static final String RELEASE_INFO = "";
200
200
```
201
201
202
-
To next SNAPSHOT version:
202
+
To the next SNAPSHOT version:
203
203
204
204
```
205
205
public static final int MAJOR = 1;
@@ -214,21 +214,28 @@ Update master to the next release version:
214
214
mvn versions:set -DnewVersion=1.20.0-SNAPSHOT
215
215
```
216
216
217
-
3. Edit ``build-tools/pom.xml`` by hand, and compile to test.
217
+
3. Edit ``build-tools/pom.xml`` manually to update tbe main `<version ` entry:
218
+
```
219
+
<version>1.20.1-SNAPSHOT</version>
220
+
```
221
+
222
+
4. Compile the project to test the changes.
218
223
219
224
```
220
225
mvn clean install
221
226
```
227
+
The mvn execution log should show the new version, and the build artifacts in the `target` directories
228
+
should be stamped with the new version number.
222
229
223
-
3. Compile the project to test the changes. If correct, commit the updates to initiate the next version:
230
+
6. If the build is good, commit the updates to initiate the next version:
224
231
225
232
```
226
233
git add .
227
234
git commit -m "Version 1.20.0-SNAPSHOT"
228
235
git push
229
236
```
230
237
231
-
4. Add a new empty version entry to the [Version History](https://github.com/locationtech/jts/blob/master/doc/JTS_Version_History.md), ready to record revisions
238
+
5. Add a new empty version entry to the [Version History](https://github.com/locationtech/jts/blob/master/doc/JTS_Version_History.md), ready to record revisions
0 commit comments