Added documentation for releasing

This patch document the release guilines to publish js-openstack-lib
to npm.

Change-Id: I54f5ac4b418f057f17f4eaac4e06f72948d1f096
This commit is contained in:
Corentin Ardeois 2016-10-12 10:40:44 -04:00
parent 70a98fb10c
commit 58a4b79f65
2 changed files with 27 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Topics
reference_documentation
dev_get_started
specs
releasing
.. _gerrit: https://review.openstack.org/#/q/status:open+AND+project:openstack/js-openstack-lib,n,z

26
doc/source/releasing.rst Normal file
View File

@ -0,0 +1,26 @@
===============================
How to release js-openstack-lib
===============================
Only follow these steps if you have authority to release a version of js-openstack-lib.
1. Ensure that you have gpg set up locally.
If you do not currently have gpg installed:
`brew install gpg gpg2`
Set up your gpg key:
https://wiki.openstack.org/wiki/Oslo/ReleaseProcess#Setting_Up_GPG
2. `git pull --ff-only`
3. `git tag -s <version number>`
4. `git push gerrit <version number>`
Git wont have a remote named gerrit until the first time git-review runs.
You may need to run git review -s before the push.
For more information see:
http://docs.openstack.org/infra/manual/drivers.html#tagging-a-release