Create a blog post for a patch release
Blog posts for patch releases are the responsibility of the Release Managers to create. The blog post should be created automatically by the /chatops run release prepare <VERSION>
command. If the automatic creation fails, follow this doc to manually create it. Make sure the blog is not merged until the packages are released.
Required information
- Version that is being released. We’ll refer to this as AA-B-C
- Date the release is happening. We’ll refer to this as YYYY-MM-DD
Create a MR for the blog post
Clone the release-tools repository and install dependencies
$ git clone git@gitlab.com:gitlab-org/release-tools.git $ cd release-tools $ bundle install
Generate a new post
$ bundle exec rake 'release:patch[AA.B.C]'
Edit the template, ensure the following fields get completed:
- title
- author
- author_gitlab
- author_twitter Please use gitlab if you don’t want to use your own Twitter account
- description
- Fill in link to the monthly release post on the 22nd
- Add links to merge requests for included fixes, along with a brief description
- Update the Important notes on upgrading section as appropriate
Copy the file into www-gitlab-com, commit, and push the new blog post
$ git clone git@gitlab.com:gitlab-com/www-gitlab-com.git $ cp YYYY-MM-DD-gitlab-AA-B-C-released.html.md www-gitlab-com/sites/uncategorized/source/releases/posts/ $ cd www-gitlab-com $ git add source/releases/posts/YYYY-MM-DD-gitlab-AA-B-C-released.html.md $ git commit -m "Adding AA-B-C blog post" $ git push --set-upstream origin create-AA-B-C-post
Click the link in the
git push
output to bring up the new Merge Request page for your branchFill in the
Title
,Description
, andMilestone
, and assign to yourself.Click the
Submit merge request
buttonWhen the review environment is ready, read your blog post and ensure everything looks correct. Fix any errors.
Once packages are released, assign the merge request to someone with write access to www-gitlab-com to merge.