Commit 7ad5fb53ac4e14b22684a0d4904ccf724fd4e082
Exists in
spb-stable
and in
2 other branches
Merge branch 'push-release-doc' into 'master'
Push release doc
Showing
2 changed files
with
37 additions
and
2 deletions
Show diff stats
doc/release/README.md
| 1 | -+ [Monthly](monthly.md) | |
| 2 | -+ [Security](security.md) | |
| 1 | +GitLab has the following updates: | |
| 2 | + | |
| 3 | ++ [Monthly release](monthly.md), every month on the 22nd. | |
| 4 | ++ [Patch release](patch.md), if there are serious regressions. | |
| 5 | ++ [Security](security.md), for security problems. | |
| 6 | ++ [Master](master.md), update process for the master branch. | ... | ... |
| ... | ... | @@ -0,0 +1,31 @@ |
| 1 | +# How to push GitLab CE master branch to all remotes. | |
| 2 | + | |
| 3 | +Distribution to other repo's is done by the lead developer if there is no rush. | |
| 4 | +This happens a few times per workday on average. | |
| 5 | +If a GitLab B.V. person wants to do it here are the instructions. | |
| 6 | + | |
| 7 | +## Add this to `.bashrc` or [your dotfiles](https://github.com/dosire/dotfiles/commit/52803ce3ac60d57632164b7713ff0041e86fa26c) | |
| 8 | + | |
| 9 | +```bash | |
| 10 | +gpa () | |
| 11 | +{ | |
| 12 | + git push origin ${1:-master} && git push gh ${1:-master} && git push gl ${1:-master} | |
| 13 | +} | |
| 14 | +``` | |
| 15 | + | |
| 16 | +## Then add remotes to your local repo | |
| 17 | + | |
| 18 | +```bash | |
| 19 | +cd my-gitlab-ce-repo | |
| 20 | + | |
| 21 | +git remote add origin git@dev.gitlab.org:gitlab/gitlabhq.git | |
| 22 | +git remote add gh git@github.com:gitlabhq/gitlabhq.git | |
| 23 | +git remote add gl git@gitlab.com:gitlab-org/gitlab-ce.git | |
| 24 | +``` | |
| 25 | + | |
| 26 | +## Push to all remotes | |
| 27 | + | |
| 28 | +```bash | |
| 29 | +gpa | |
| 30 | +``` | |
| 31 | + | ... | ... |