Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2021-08-17 18:30:08 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2021-08-18 08:54:31 +0300
commit7ca6284b658a2bd0fee1eafb450301d3455987e0 (patch)
treed7ded16e28d2b1790ae650d31008f5e649e4f55a /Rakefile
parent97dcee492e06d79ea1ecc59d6aab2e4f572fb3c8 (diff)
Automate the charts versions
With this, we no longer need to update a separate charts_versions.yaml file.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index 8983839b..259fe058 100644
--- a/Rakefile
+++ b/Rakefile
@@ -73,12 +73,6 @@ namespace :release do
raise 'You need to specify a version, like 10.1' unless version.match?(/\A\d+\.\d+\z/)
- # Check if the chart version has been defined
- unless chart_version_added?(version)
- abort('Rake aborted! The chart version does not exist. Make sure `content/_data/charts_versions.yaml` is updated.
- https://about.gitlab.com/handbook/engineering/ux/technical-writing/workflow/#add-chart-version')
- end
-
# Check if local branch exists
abort("Rake aborted! The branch already exists. Delete it with `git branch -D #{version}` and rerun the task.") if local_branch_exist?(version)