diff --git a/doc/release.md b/doc/release.md index 6aa458c..08b405a 100644 --- a/doc/release.md +++ b/doc/release.md @@ -29,23 +29,33 @@ git push origin 6-6-stable 6.6.0.omnibus ## On the build machines -- Check out the release branch of omnibus-gitlab. +- Install release dependencies ```shell -git fetch -git checkout 6-6-stable +# Ubuntu +sudo apt-get install python-pip + +# CentOS +sudo yum install python-pip + +# Both +sudo pip install awscli +aws configure # enter AWS key and secret ``` -- Check the version with `git describe`. +- Check out the release branch of omnibus-gitlab. ```shell -git describe # Should start with 6.6.0.omnibus +git fetch +git checkout 6-6-stable ``` -- Build a package with timestamps disabled. +- Run the release script ```shell -OMNIBUS_APPEND_TIMESTAMP=0 bin/omnibus build project gitlab +./release.sh ``` +This will `clean --purge` the build environment, build a package and upload it to S3. + [the gitlab-rails version in omnibus-gitlab]: ../config/software/gitlab-rails.rb#L20 -- libgit2 0.21.2