forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 18
Release Process
LeeDr edited this page Dec 16, 2015
·
5 revisions
Here are some notes about the process we use to run releases. The code for building kibana and pushing the release is a part of the repo but there are a few manual steps in the process.
Before running the release you need to have credentials for s3 that will allow you to upload the builds for the download.elastic.co bucket.
- get the keys from another contributor and place in a
.aws-config.json
file at the root of the kibana repo. Use the following format:
{
"key": "<access key>",
"secret": "<secret>"
}
- Make a copy of this file outside of the repo, in case it gets deleted (via
git clean
for instance)
- pull the latest version from release branch
- replace all instances of previous version with new version (
4.2.0-snapshot
to4.2.0-beta1
for example) - package.json
-
"version"
field - README.md - title - snapshot urls
- commit those changes
git commit -a -m "version <version>"
- tag that commit
git tag "v<version>"
- clean out all changes (including .DS_Stores files and other hidden files)
git clean -fdxn -e ".aws-config.json" -e "config/kibana.dev.yml"
## check files that would be removed
git clean -fdx -e ".aws-config.json" -e "config/kibana.dev.yml"
- install node modules
npm install
- run the release task
grunt release
- distribute links to the team so they can test
- once verified push commit and tag to upstream
git push upstream <branch>
git push upstream v<version>
- Make sure we update this page https://www.elastic.co/downloads/kibana with the link to the new README.md like
-
https://github.com/elastic/kibana/blob/v4.3.0/README.md
or -
https://github.com/elastic/kibana/blob/4.3.1/README.md
(may or may not have the "v" in it depending on branch or label)