summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-04 16:08:40 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-04 17:23:37 (GMT)
commitcb44e0d47c2ea63f60688a254f6018a8c435a554 (patch)
tree1a5cc04be4fa5f7307bc5f56b0dc8b06bae1e885 /Help
parent3a9a9a3ace76c2d3b8b08d60dc219bffcc619928 (diff)
downloadCMake-cb44e0d47c2ea63f60688a254f6018a8c435a554.zip
CMake-cb44e0d47c2ea63f60688a254f6018a8c435a554.tar.gz
CMake-cb44e0d47c2ea63f60688a254f6018a8c435a554.tar.bz2
gitlab-ci: distinguish release and development pipeline schedules
Redefine the `CMAKE_CI_PACKAGE` pipeline schedule variable to indicate whether it is for a development version (`dev`) or a release version (`v[0-9]...`). Use this to automatically turn package upload jobs on or off without having to edit the jobs in `.gitlab-ci.yml` for release branches.
Diffstat (limited to 'Help')
-rw-r--r--Help/dev/maint.rst18
1 files changed, 1 insertions, 17 deletions
diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst
index 54d627d..4c2b6a1 100644
--- a/Help/dev/maint.rst
+++ b/Help/dev/maint.rst
@@ -245,20 +245,6 @@ 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/^u:/.u:/' .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``:
@@ -290,15 +276,13 @@ 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, the nightly package pipeline upload jobs, and
-the version date from ``origin/master``:
+note infrastructure, 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/^\.u:/u:/' .gitlab-ci.yml
Update ``Source/CMakeVersion.cmake`` to set the version to
``$major.$minor.$date``: