Setup and preliminary checks
This steps have to be followed always when preparing a new release.
New stable branch creation
Only if you need to create a new stable major release (YYYY.XX.00), you need to create a branch for it. Check the following:
Before the Release
Prepare Release
MapStore Stable deploy
Create and Publish MapStoreExtension release
Create and Publish MapStore release
When the processes are finished, the release is ready to be published on github in draft mode.
Update ReadTheDocs
Finalize Release
Other useful information
Setup and preliminary checks
This steps have to be followed always when preparing a new release.
http_proxy,mapfish-printorgeostore, and do it if necessary accordingly with release calendar.geostore, check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.http_proxy, check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.mapfish-printcheck if here is present the version specified. Release procedure is specified in the Readme.md file of the project.src/pom.xmlin geostore epom.xmlin MapStore).project/standard/templates/pom.xmlare aligned as the ones inpom.xmlof MapStoreproject/standard/templates/web/pom.xmlare aligned as the ones inproduct/pom.xmlof MapStore.New stable branch creation
Only if you need to create a new stable major release (YYYY.XX.00), you need to create a branch for it. Check the following:
Cut Release Branchworkflow on github.With the following Parameters:
masterYYYY.XX.xxYYYY.XX.xxwith fixed versionsYYYY.XX.xx(click on "Versions" and activate the version of the branch)Cut Release Branchworkflow on MapStoreExtension project, indicating:masterYYYY.XX.xxmaster(default)Before the Release
pom.xmldependencies are all in fixed stable versions ( no-SNAPSHOTusage release). If not, You use the actionUpdate dependencies versionsto fix them, setting:YYYY.XX.xxSampleExtension.zipto use for testing.YYYY.XX.xxbranchArtifacts.zipthat containsSampleExtension.zipfrom the execution of thechecksaction on the branchYYYY.XX.xx. This can be used for tests.node ./createProject.jsand insert the entries (for the rest simply press enter:release_project_testYYYY.XX.xx)../test_release_<release_number>)cd ../test_release_<release_number>npm installnpm start, then check that an empty homepage loads correctlyPrepare Release
Prepare Releaseworkflow on github actions with the following parameters:branchYYYY.XX.xx (the release branch)1.7.0)vYYYY.XX.mm. This commit will contain the changelog and the updated version of the java modules.Submodules Updateon MapStoreExtension:YYYY.XX.xxMapStore Stable deploy
-
branch:vYYYY.XX.mm(the version tag name, e.g. v2024.01.01)-
version:${branch}-stable( version to pass to the build )-
TAG_NAME:${branch}-stable(tag to assign to the docker hub image)-
branch:vYYYY.XX.mm(the version tag name, e.g. v2024.01.01)-
TAG_NAME:${branch}-stable(tag of the docker hub image, previously build)gs-stableare visible without errors (typically authentication errors that was caused by the wrong auth-key).Create and Publish MapStoreExtension release
SampleExtension.zipto upload on release:artifacts.ziptheSampleExtension.zipfileSampleExtension.zipto the draft release created.Create and Publish MapStore release
Create Releaseworkflow on github actions with the following parameters:branchYYYY.XX.xx (the release branch)vprefix)vprefix) for correct full changelog link generationvprefix)When the processes are finished, the release is ready to be published on github in draft mode.
Update ReadTheDocs
vYYYY.XX.mm(search for the tag, check theactivetoggle and click on update verson )Default versionto point the new tag (vYYYY.XX.mm) in read the ReadTheDocs Settings panel and click on save.Finalize Release
Post Releaseworkflow on github with the following parameters:YYYY.XX.xx(the release branch)-SNAPSHOTE.g.1.7-SNAPSHOTUpdate dependencies versionsto restore the-SNAPSHOTversion of GeoStore, setting:YYYY.XX.xx-SNAPSHOTversion of geostore.Other useful information