@@ -216,7 +216,7 @@ and using the CMake settings:
216216
217217``` sh
218218-D CMAKE_OSX_ARCHITECTURES=arm64; x86_64
219- -D CMAKE_OSX_DEPLOYMENT_TARGER =11.0
219+ -D CMAKE_OSX_DEPLOYMENT_TARGET =11.0
220220```
221221
222222This will add the compiler flags `-arch arm64 -arch x86_64
@@ -324,6 +324,47 @@ At this point it should be possible to do a fast-forward merge of
324324
325325### Push branches and tags
326326
327+ ## LAMMPS Stable Update Release
327328
329+ After making a stable release, bugfixes from the 'develop' branch
330+ are selectively backported to the 'maintenance' branch. This is
331+ done with "git cherry-pick \< commit hash\> ' wherever possible.
332+ The LAMMPS\_ UPDATE define in "src/version.h" is set to "Maintenance".
328333
329- ## LAMMPS Stable Update Release
334+ ### Prerequesites
335+
336+ When a sufficient number of bugfixes has accumulated or an urgent
337+ or important bugfix needs to be distributed a new stable update
338+ release is made. To make this publicly visible a pull request
339+ is submitted that will merge 'maintenance' into 'stable'. Before
340+ merging, set LAMMPS\_ UPDATE in "src/version.h" to "Update #" with
341+ "#" indicating the update count (1, 2, and so on).
342+ Also draft suitable release notes under https://github.com/lammps/lammps/releases
343+
344+ ### Fast-forward merge of 'maintenance' into 'stable', apply tag, and publish
345+
346+ Do a fast-forward merge of 'maintenance' to 'stable' and then
347+ apply the stable\_ DMmmYYYY\_ update# tag and push branch and tag
348+ to GitHub. The corresponding pull request will be automatically
349+ closed. Example:
350+
351+ ```
352+ git checkout maintenance
353+ git pull
354+ git checkout stable
355+ git pull
356+ git merge --ff-only maintenance
357+ git tag -s -m 'Update 2 for Stable LAMMPS version 29 August 2024' stable_29Aug2024_update2
358+ git push [email protected] :lammps/lammps.git --tags maintenance stable 359+ ```
360+
361+ Associate draft release notes with new tag and publish as "latest release".
362+
363+ On https://ci.lammps.org/ go to "dev", "stable" and manually execute
364+ the "update\_ release" task. This will update https://docs.lammps.org/stable
365+ and prepare a stable tarball.
366+
367+ ### Build and upload binary packages and source tarball to GitHub
368+
369+ The build procedure is the same as for the feature releases, only
370+ that packages are built from the 'stable' branch.
0 commit comments