diff --git a/doc/release/README.md b/doc/release/README.md index 22510be3f18023ada89aa8e546ee50455cdd4a24..d53720acbd427453afff3d9015a3b6e5c3a50fad 100644 --- a/doc/release/README.md +++ b/doc/release/README.md @@ -1,2 +1,6 @@ -+ [Monthly](monthly.md) -+ [Security](security.md) +GitLab has the following updates: + ++ [Monthly release](monthly.md), every month on the 22nd. ++ [Patch release](patch.md), if there are serious regressions. ++ [Security](security.md), for security problems. ++ [Master](master.md), update process for the master branch. diff --git a/doc/release/master.md b/doc/release/master.md new file mode 100644 index 0000000000000000000000000000000000000000..bed5692d0a2c0d66d940f8c248a08578a77a37ae --- /dev/null +++ b/doc/release/master.md @@ -0,0 +1,31 @@ +# How to push GitLab CE master branch to all remotes. + +Distribution to other repo's is done by the lead developer if there is no rush. +This happens a few times per workday on average. +If a GitLab B.V. person wants to do it here are the instructions. + +## Add this to `.bashrc` or [your dotfiles](https://github.com/dosire/dotfiles/commit/52803ce3ac60d57632164b7713ff0041e86fa26c) + +```bash +gpa () +{ + git push origin ${1:-master} && git push gh ${1:-master} && git push gl ${1:-master} +} +``` + +## Then add remotes to your local repo + +```bash +cd my-gitlab-ce-repo + +git remote add origin git@dev.gitlab.org:gitlab/gitlabhq.git +git remote add gh git@github.com:gitlabhq/gitlabhq.git +git remote add gl git@gitlab.com:gitlab-org/gitlab-ce.git +``` + +## Push to all remotes + +```bash +gpa +``` +