Skip to content

Commit 65b9473

Browse files
josegar74jodygarnett
authored andcommitted
Documentation / Unify version numbers in doing a release page
1 parent 049beef commit 65b9473

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/manual/docs/contributing/doing-a-release.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
149149
git tag -a $version -m "Tag for $version release"
150150
```
151151
152-
3. Build
152+
6. Build
153153
154154
``` shell
155155
# deep clean
@@ -171,7 +171,7 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
171171
mvn deploy -Drelease
172172
```
173173
174-
4. Test
174+
7. Test
175175
176176
``` shell
177177
cd target/GeoNetwork-$newversion
@@ -180,16 +180,16 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
180180
./startup.sh -f
181181
```
182182
183-
5. Set the next version
183+
8. Set the next version
184184
185185
``` shell
186186
# Set version number to SNAPSHOT
187187
./update-version.sh $newversion $nextversion
188188
189189
# Add SQL migration step for the next version
190-
mkdir web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v424
191-
cat <<EOF > web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v424/migrate-default.sql
192-
UPDATE Settings SET value='4.2.4' WHERE name='system/platform/version';
190+
mkdir web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v442
191+
cat <<EOF > web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v442/migrate-default.sql
192+
UPDATE Settings SET value='4.4.2' WHERE name='system/platform/version';
193193
UPDATE Settings SET value='SNAPSHOT' WHERE name='system/platform/subVersion';
194194
EOF
195195
vi web/src/main/webResources/WEB-INF/config-db/database_migration.xml
@@ -198,9 +198,9 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
198198
In `WEB-INF/config-db/database_migration.xml` add an entry for the new version in the 2 steps:
199199
200200
``` xml
201-
<entry key="3.12.2">
201+
<entry key="4.4.2">
202202
<list>
203-
<value>WEB-INF/classes/setup/sql/migrate/v3122/migrate-</value>
203+
<value>WEB-INF/classes/setup/sql/migrate/v442/migrate-</value>
204204
</list>
205205
</entry>
206206
```
@@ -210,15 +210,15 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
210210
git commit -m "Update version to $nextversion"
211211
```
212212
213-
6. Publishing
213+
9. Publishing
214214
215215
``` shell
216216
# Push the branch and tag
217217
git push origin $versionbranch
218218
git push origin $version
219219
```
220220
221-
7. Generate checksum files
221+
10. Generate checksum files
222222
223223
- If using Linux:
224224
@@ -242,15 +242,15 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
242242
cd /home/frs/project/g/ge/geonetwork/GeoNetwork_opensource
243243
# or for RC release
244244
cd /home/frs/project/g/ge/geonetwork/GeoNetwork_unstable_development_versions/
245-
mkdir v3.12.1
246-
cd v3.12.1
247-
put docs/changes3.12.1-0.txt
245+
mkdir v4.4.1
246+
cd v4.4.1
247+
put docs/changes/changes4.4.1-0.txt
248248
put release/target/GeoNetwork*/geonetwork-bundle*.zip*
249249
put web/target/geonetwork.war*
250250
bye
251251
```
252252
253-
9. Close the milestone on github <https://github.com/geonetwork/core-geonetwork/milestones?state=closed> with link to sourceforge download.
253+
11. Close the milestone on github <https://github.com/geonetwork/core-geonetwork/milestones?state=closed> with link to sourceforge download.
254254
255255
Publish the release on github <https://github.com/geonetwork/core-geonetwork/releases> .
256256

0 commit comments

Comments
 (0)