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>2022-01-21 16:47:08 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-01-21 16:47:08 +0300
commitc8aefd8c51f6645e340525d6f58445973cbf456b (patch)
tree6a47602b3b027edc068101df6a6eaed8d3dd005b /Rakefile
parent5b937e4506924e52d38d10cfa89f11fdfebc0cf5 (diff)
Switch back to the release branch after the dropdowns are pushed
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 754b79e4..0b42661c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -204,6 +204,9 @@ namespace :release do
`git commit -m "Update dropdown to #{current_version}"`
`git push --set-upstream origin #{branch_name} -o merge_request.create -o merge_request.target=#{version} -o merge_request.remove_source_branch -o merge_request.title="#{mr_title}" -o merge_request.description="#{mr_description}" -o merge_request.label="Technical Writing" -o merge_request.label="release"`
end
+
+ # Switch back to the release branch after the dropdowns are pushed
+ `git checkout #{release_branch}`
end
end