From f61a90ece0101e495e0223db6ae6dd26efc33d0a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 3 Dec 2019 03:23:18 -0400 Subject: [PATCH] Add GitLab release targets to the documentation Signed-off-by: Roberto Rosario --- Makefile | 4 ++++ docs/chapters/development/releases.txt | 13 +++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02c8a8b0c9..c26f285bb5 100644 --- a/Makefile +++ b/Makefile @@ -250,24 +250,28 @@ generate-requirements: ## Generate all requirements files from the project deped gitlab-release-documentation: ## Trigger the documentation build and publication using GitLab CI gitlab-release-documentation: git push + git push --tags git push origin :releases/documentation git push origin HEAD:releases/documentation gitlab-release-docker: ## Trigger the Docker image build and publication using GitLab CI gitlab-release-docker: git push + git push --tags git push origin :releases/docker git push origin HEAD:releases/docker gitlab-release-python: ## Trigger the Python package build and publication using GitLab CI gitlab-release-python: git push + git push --tags git push origin :releases/python git push origin HEAD:releases/python gitlab-release-all: ## Trigger the Python package, Docker image, and documentation build and publication using GitLab CI gitlab-release-all: git push + git push --tags git push origin :releases/all git push origin HEAD:releases/all diff --git a/docs/chapters/development/releases.txt b/docs/chapters/development/releases.txt index 61876a0c92..5ee50d8de2 100644 --- a/docs/chapters/development/releases.txt +++ b/docs/chapters/development/releases.txt @@ -115,8 +115,17 @@ Release checklist #. Release the version using one of the two following methods: GitLab CI or manual -Release using GitLab CI ------------------------ + +Release using GitLab CI using the makefile +------------------------------------------ + +#. Use of the GitLab makefile targets: ``gitlab-release-all``, + ``gitlab-release-docker``, ``gitlab-release-documentation``, + ``gitlab-release-python``. + + +Release using GitLab CI manually +-------------------------------- #. Push the current brach: ::