summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-01 15:50:04 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-01 16:16:24 (GMT)
commit7074b4c08cc1193598bfe17204fa8d5803f18dce (patch)
treeed68fd969ffe6772aa081faf0a398b3f9522ddb7
parent0519db374c79f654b55de396943cafcf36db695f (diff)
downloadCMake-7074b4c08cc1193598bfe17204fa8d5803f18dce.zip
CMake-7074b4c08cc1193598bfe17204fa8d5803f18dce.tar.gz
CMake-7074b4c08cc1193598bfe17204fa8d5803f18dce.tar.bz2
Help/dev: Add maintainer guide steps for CI packaging pipeline updates
-rw-r--r--Help/dev/maint.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst
index 4c2c89f..75d685c 100644
--- a/Help/dev/maint.rst
+++ b/Help/dev/maint.rst
@@ -245,6 +245,20 @@ Commit with a message such as::
Release versions do not have the development topic section of
the CMake Release Notes index page.
+Update ``.gitlab-ci.yml`` to drop the ``upload:`` jobs from the
+packaging pipeline by renaming them to start in ``.``:
+
+.. code-block:: shell
+
+ sed -i 's/^upload:/.upload:/' .gitlab-ci.yml
+
+Commit with a message such as::
+
+ gitlab-ci: Drop package pipeline upload jobs for release branch
+
+ The package pipeline for release versions should not upload packages
+ automatically to our archive of nightly development versions.
+
Update ``Source/CMakeVersion.cmake`` to set the version to
``$major.$minor.0-rc0``:
@@ -276,13 +290,15 @@ Merge the ``release-$ver`` branch to ``master``:
git merge --no-ff release-$ver
Begin post-release development by restoring the development branch release
-note infrastructure and the version date from ``origin/master``:
+note infrastructure, the nightly package pipeline upload jobs, and
+the version date from ``origin/master``:
.. code-block:: shell
git checkout origin/master -- \
Source/CMakeVersion.cmake Help/release/dev/0-sample-topic.rst
sed -i $'/^Releases/ i\\\n.. include:: dev.txt\\\n' Help/release/index.rst
+ sed -i 's/^\.upload:/upload:/' .gitlab-ci.yml
Update ``Source/CMakeVersion.cmake`` to set the version to
``$major.$minor.$date``: