Skip to content

Commit a1f214f

Browse files
authored
Update RELEASING.md
1 parent 4d8e045 commit a1f214f

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

RELEASING.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Update master to the next release version:
190190

191191
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)
192192

193-
Change release version: (e.g.)
193+
Change release version from (e.g.):
194194

195195
```
196196
public static final int MAJOR = 1;
@@ -199,7 +199,7 @@ Update master to the next release version:
199199
private static final String RELEASE_INFO = "";
200200
```
201201

202-
To next SNAPSHOT version:
202+
To the next SNAPSHOT version:
203203

204204
```
205205
public static final int MAJOR = 1;
@@ -214,21 +214,28 @@ Update master to the next release version:
214214
mvn versions:set -DnewVersion=1.20.0-SNAPSHOT
215215
```
216216

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.
218223

219224
```
220225
mvn clean install
221226
```
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.
222229

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:
224231

225232
```
226233
git add .
227234
git commit -m "Version 1.20.0-SNAPSHOT"
228235
git push
229236
```
230237

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
232239

233240
### Announcing the new release
234241

0 commit comments

Comments
 (0)