@@ -149,7 +149,7 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
149
149
git tag -a $version -m "Tag for $version release"
150
150
` ` `
151
151
152
- 3 . Build
152
+ 6 . Build
153
153
154
154
` ` ` shell
155
155
# deep clean
@@ -171,7 +171,7 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
171
171
mvn deploy -Drelease
172
172
` ` `
173
173
174
- 4 . Test
174
+ 7 . Test
175
175
176
176
` ` ` shell
177
177
cd target/GeoNetwork-$newversion
@@ -180,16 +180,16 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
180
180
./startup.sh -f
181
181
` ` `
182
182
183
- 5 . Set the next version
183
+ 8 . Set the next version
184
184
185
185
` ` ` shell
186
186
# Set version number to SNAPSHOT
187
187
./update-version.sh $newversion $nextversion
188
188
189
189
# 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';
193
193
UPDATE Settings SET value='SNAPSHOT' WHERE name='system/platform/subVersion';
194
194
EOF
195
195
vi web/src/main/webResources/WEB-INF/config-db/database_migration.xml
@@ -198,9 +198,9 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
198
198
In ` WEB-INF/config-db/database_migration.xml` add an entry for the new version in the 2 steps:
199
199
200
200
` ` ` xml
201
- < entry key=" 3.12 .2" >
201
+ < entry key=" 4.4 .2" >
202
202
< list>
203
- < value> WEB-INF/classes/setup/sql/migrate/v3122 /migrate-< /value>
203
+ < value> WEB-INF/classes/setup/sql/migrate/v442 /migrate-< /value>
204
204
< /list>
205
205
< /entry>
206
206
` ` `
@@ -210,15 +210,15 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
210
210
git commit -m " Update version to $nextversion "
211
211
` ` `
212
212
213
- 6 . Publishing
213
+ 9 . Publishing
214
214
215
215
` ` ` shell
216
216
# Push the branch and tag
217
217
git push origin $versionbranch
218
218
git push origin $version
219
219
` ` `
220
220
221
- 7. Generate checksum files
221
+ 10. Generate checksum files
222
222
223
223
- If using Linux:
224
224
@@ -242,15 +242,15 @@ with the following utilities: ***sed***, ***xmlstarlet*** and ***sftp***.
242
242
cd /home/frs/project/g/ge/geonetwork/GeoNetwork_opensource
243
243
# or for RC release
244
244
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
248
248
put release/target/GeoNetwork* /geonetwork-bundle* .zip*
249
249
put web/target/geonetwork.war*
250
250
bye
251
251
` ` `
252
252
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.
254
254
255
255
Publish the release on github < https://github.com/geonetwork/core-geonetwork/releases> .
256
256
0 commit comments