mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 10:08:57 +00:00
2.7 KiB
2.7 KiB
layout, title, description, date, sidebar, comments, sharing, footer
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | Releasing | Steps involved publishing a new Home Assistant release. | 2016-07-13 17:00 | true | false | true | true |
This page describes the steps for publishing a new Home Assistant release.
{% linkable_title GitHub (3 days before release) %}
- Merge
master
intodev
to make the PR mergeable. - Cut a release branch from
dev
. Example namerelease-0-40
. - Create a pull request from release branch to
master
with the upcoming release number as the title. PR message contains intro, highlighting major changes, and an overview of all changes tagging each author. - Update
homeassistant/const.py
with the correct version number (remove thedev
tag) and push that commit to release branch. - From now until the release branch has been merged, we tag bugfixes with the milestone for the release (create if doesn't exist)
{% linkable_title Website (3 days before release) %}
- Merge
current
intonext
- Cut release branch of
next
. For examplerelease-0-40
. - Open a PR from release branch to
current
with the upcoming release number as the title.
{% linkable_title GitHub %}
- Merge pull request (DO NOT SQUASH!).
- Go to releases and tag a new release on the
master
branch. "Tag version" and "Release title" are the version number (O.x
for major version,0.x.y
for minor and bug fix releases). Release description is the text from PR. Press "Publish release" to finish the process. - Merge
master
intodev
.
{% linkable_title Website %}
- Create a blog post in the release branch and base it on the text of the PR in the main repository. Add images, additional text, links, etc. if it adds value. Tag each platform/component in a message to documentation.
- Create missing documentation as stubs.
- Update
config.yml
with link to the new release blog post and version number (at the bottom of the file). - Merge
current
into release branch ($ git checkout release-0-40 && git merge current
) to make the PR mergeable. - Merge pull request (blog post, updated frontpage, and all new documentation) to
current
. - Merge
current
intonext
.
{% linkable_title Docker Hub %}
Tags on Docker hub are automatically created when a release has been created on GitHub.
{% linkable_title Python Package Index %}
Checkout the master
branch and run script/release
to publish the new release on Python Package Index.
{% linkable_title Social media %}
- Use hootsuite to publish a link to the release post on social media.