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
This steps have to be followed always when preparing a new release.
Create an issue with this checklist in the release milestone, named "Release YYYY.XX.mm".
Create the milestone if it doesn't exist. (Name YYYY.XX.mm).
Verify if it is needed to release a new version of http_proxy, mapfish-print or geostore, and do it if necessary accordingly with release calendar.
for geostore, check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.
for http_proxy, check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.
for mapfish-print check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.
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:
Run the Cut Release Branch workflow on github.
With the following Parameters:
Use workflow from branch master
MapStore branch name to use: YYYY.XX.xx
use the default value for the other parameters
Wait for the process to complete. At the end:
A Pull request will be created to the master
A new branch named YYYY.XX.xx with fixed versions
Merge the incoming PR created by the workflow
Create on ReadTheDocs project the version build for YYYY.XX.xx (click on "Versions" and activate the version of the branch)
Run the Cut Release Branch workflow on MapStoreExtension project, indicating:
Use workflow from branch master
MapStore branch name to use: YYYY.XX.xx
main branch master (default)
Update the QA build to point to the branch created (YYYY.XX.xx)
Before the Release
Check pom.xml dependencies are all in fixed stable versions ( no -SNAPSHOT usage release). If not, You use the action Update dependencies versions to fix them, setting:
the branch to YYYY.XX.xx
the of geostore, http_proxy and mapfish-print versions accordingly with the MapStore release calendar
Run the Submodule Update of MapStore extension, to generate the latest extension and check that it builds correct.y
Use workflow from YYYY.XX.xx branch
Wait for completition, then get the extension to test from the attachments of the test execution
npm run start:app, then check that an empty homepage loads correctly
Test Binary (take the mapstore2-<RELEASE_BRANCH>-qa-bin.zip, from latest build)
Prepare Release
Run Prepare Release workflow on github actions with the following parameters:
Use workflow from branchYYYY.XX.xx (the release branch)
Version to release YYYY.XX.mm (the effective number of the release)
MapStore version for changelog generation YYYY.XX.mm (the effective number of the previous release)
version to fix for the java module, accordingly with release calendar (e.g. 1.7.0)
use the default value for the other parameters
Wait for the process to complete. At the end:
a new commit will be added to the release branch tagged as vYYYY.XX.mm. This commit will contain the changelog and the updated version of the java modules.
a pull request will be created on master with the changelog updates
Merge the incoming PR created by the workflow for updating changelog on Master
check if there are changes to be ported to STABLE branch of mapstore-datadir repo
if so prepare a PR to be merged
merge the PR and move on with the steps otherwise stop here
Lunch MapStore2-Stable-Build
- 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)
After "MapStore2-Stable-Build" finished, Launch MapStore2-Stable-Deploy to install the latest stable version on official demo.
- 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)
Test the change has been applied, login on https://mapstore.geosolutionsgroup.com and verify that the layers from gs-stable are visible without errors (typically authentication errors that was caused by the wrong auth-key).
Update the link to Docker in the release notes with the link to the latest stable release (search the new tag on docker hub )
Update the description of the release details
Publish the release
Update ReadTheDocs
create on ReadTheDocs project the version build for vYYYY.XX.mm (click on "Versions" and activate the version of the tag, created when release was published)
Update Default version to point the release version in the Advanced Settings menu of the ReadTheDocs admin panel
Finalize Release
Run the Post Release workflow on github with the following parameters:
Use workflow from branch YYYY.XX.xx (the release branch)
Version of Java Packages to restore accordingly with release calendar with -SNAPSHOT E.g. 1.7-SNAPSHOT
Write to the mailing list about the current release news and the next release major changes
Optional - prepare a PR for updating release procedure, if needed
Close this issue
Close the related milestone YYYY.XX.mm
Other useful information
The text was updated successfully, but these errors were encountered:
Setup and preliminary checks
This steps have to be followed always when preparing a new release.
http_proxy
,mapfish-print
orgeostore
, 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-print
check if here is present the version specified. Release procedure is specified in the Readme.md file of the project.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 Branch
workflow on github.With the following Parameters:
master
YYYY.XX.xx
YYYY.XX.xx
with fixed versionsYYYY.XX.xx
(click on "Versions" and activate the version of the branch)Cut Release Branch
workflow on MapStoreExtension project, indicating:master
YYYY.XX.xx
master
(default)Before the Release
pom.xml
dependencies are all in fixed stable versions ( no-SNAPSHOT
usage release). If not, You use the actionUpdate dependencies versions
to fix them, setting:YYYY.XX.xx
YYYY.XX.xx
branchnode ./createProject.js
and insert the entries (for the rest simply press enter:release_project_test
YYYY.XX.xx
)../test_release_<release_number>
)cd ../test_release_<release_number>
npm install
npm run start:app
, then check that an empty homepage loads correctlyPrepare Release
Prepare Release
workflow on github actions with the following parameters:branch
YYYY.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 Update
on MapStoreExtension:YYYY.XX.xx
MapStore 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-stable
are visible without errors (typically authentication errors that was caused by the wrong auth-key).Create and Publish MapStoreExtension release
SampleExtension.zip
to upload on release:artifacts.zip
theSampleExtension.zip
fileSampleExtension.zip
to the draft release created.Create and Publish MapStore release
Create Release
workflow on github actions with the following parameters:branch
YYYY.XX.xx (the release branch)v
prefix)v
prefix)When the processes are finished, the release is ready to be published on github in draft mode.
Update ReadTheDocs
vYYYY.XX.mm
(click on "Versions" and activate the version of the tag, created when release was published)Default version
to point the release version in theAdvanced Settings
menu of the ReadTheDocs admin panelFinalize Release
Post Release
workflow on github with the following parameters:YYYY.XX.xx
(the release branch)-SNAPSHOT
E.g.1.7-SNAPSHOT
Other useful information
The text was updated successfully, but these errors were encountered: