Commit d63b666b57b42f60b54bf850f13a1b9fea4a9982

Authored by Jacob Vosmaer
1 parent b28c062f

Update release documentation

Showing 1 changed file with 17 additions and 7 deletions   Show diff stats
doc/release.md
... ... @@ -29,23 +29,33 @@ git push origin 6-6-stable 6.6.0.omnibus
29 29  
30 30 ## On the build machines
31 31  
32   -- Check out the release branch of omnibus-gitlab.
  32 +- Install release dependencies
33 33  
34 34 ```shell
35   -git fetch
36   -git checkout 6-6-stable
  35 +# Ubuntu
  36 +sudo apt-get install python-pip
  37 +
  38 +# CentOS
  39 +sudo yum install python-pip
  40 +
  41 +# Both
  42 +sudo pip install awscli
  43 +aws configure # enter AWS key and secret
37 44 ```
38 45  
39   -- Check the version with `git describe`.
  46 +- Check out the release branch of omnibus-gitlab.
40 47  
41 48 ```shell
42   -git describe # Should start with 6.6.0.omnibus
  49 +git fetch
  50 +git checkout 6-6-stable
43 51 ```
44 52  
45   -- Build a package with timestamps disabled.
  53 +- Run the release script
46 54  
47 55 ```shell
48   -OMNIBUS_APPEND_TIMESTAMP=0 bin/omnibus build project gitlab
  56 +./release.sh
49 57 ```
50 58  
  59 +This will `clean --purge` the build environment, build a package and upload it to S3.
  60 +
51 61 [the gitlab-rails version in omnibus-gitlab]: ../config/software/gitlab-rails.rb#L20
... ...