Skip to content

Commit 3c64f7f

Browse files
author
Gabriel Monroy
committed
update release instructions post git-flow
1 parent 4836b99 commit 3c64f7f

1 file changed

Lines changed: 28 additions & 31 deletions

File tree

docs/releases.rst

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Releases
88
========
99

10-
When the maintainers create a **Deis** release, here are the steps involved:
10+
When the maintainers create a new Deis release, here are the steps involved:
1111

1212

1313
GitHub Issues
@@ -28,58 +28,55 @@ Other Repos
2828
Chef Repo
2929
---------
3030

31-
- checkout release branch
3231
- merge master into release branch locally
33-
- change chef attributes from master to latest tag in deis-cookbook/attributes
32+
* ``git checkout release``
33+
* ``git merge master``
34+
- change chef attributes to latest tags in deis-cookbook/attributes
3435
* default.deis.build.revision
3536
* default.deis.gitosis.revision
3637
* default.deis.controller.revision
37-
- ``knife cookbook metadata .`` will update metadata.json
38-
- commit and push the opdemand/deis-cookbook repo
39-
* ``git commit -a -m 'updated for v0.0.X release'``
38+
- ``knife cookbook metadata .`` to update metadata.json
39+
- commit and push the opdemand/deis-cookbook release and tag
40+
* ``git commit -a -m 'updated for vX.Y.Z release'``
4041
* ``git push origin release``
41-
* ``git tag v0.0.X``
42-
* ``git push --tags origin v0.0.X``
42+
* ``git tag vX.Y.Z``
43+
* ``git push --tags origin vX.Y.Z``
4344
- update opscode community cookbook
4445
* ``cp -pr deis-cookbook /tmp/deis && cd /tmp``
45-
* ``tar cvfz deis-cookbook-v0.0.X.tar.gz --exclude='deis/.git' --exclude='deis/.vagrant' deis``
46+
* ``tar cvfz deis-cookbook-vX.Y.Z.tar.gz --exclude='deis/.git' --exclude='deis/.vagrant' deis``
4647
* log in to community.opscode.com and upload tarball
47-
- switch master back to upcoming release
48+
- switch master to upcoming release
4849
* ``git checkout master``
4950
* change cookbook revisions in metadata.rb to *next* version
50-
* ``git commit -a -m 'switch master to v0.0.Y'``
51+
* ``git commit -a -m 'switch master to vX.Y.Z+1'``
5152
* ``git push origin master``
5253

5354

5455
Deis Repo
5556
---------
5657

57-
- merge master into release branch
58-
* create pull request from master to release branch
59-
* review and merge on github.com
60-
- Update berksfile with new release
61-
* ``berks update && berks install``
62-
* switch from github cookbook to opscode community cookbook
63-
- commit and push the opdemand/deis repo
64-
* ``git commit -a -m 'updated for v0.0.X release'``
65-
* ``git tag v0.0.X``
66-
* ``git push --tags origin v0.0.X``
58+
- merge master into release branch locally
59+
* ``git checkout release``
60+
* ``git merge master``
61+
- update berksfile with new release
62+
* ensure Berksfile is pointing to opscode community cookbook
63+
* ``berks update && berks install`` to update Berksfile.lock
64+
- commit and push the opdemand/deis release and tag
65+
* ``git commit -a -m 'updated for vX.Y.Z release'``
66+
* ``git push origin release``
67+
* ``git tag vX.Y.Z``
68+
* ``git push --tags origin vX.Y.Z``
69+
- publish CLI to pypi.python.org
70+
- ``python setup.py sdist upload``
71+
- use testpypi.python.org first to ensure there aren't any problems
6772
- switch master to upcoming release
6873
* ``git checkout master``
6974
* update __version__ fields in Python packages to *next* version
7075
* switch from opscode community cookbook back to github cookbook
71-
* ``berks update && berks install``
72-
* ``git commit -a -m 'switch master to v0.0.Y'``
76+
* ``berks update && berks install`` to update Berksfile.lock
77+
* ``git commit -a -m 'switch master to vX.Y.Z+1'``
7378
* ``git push origin master``
7479

75-
76-
Client
77-
------
78-
- publish CLI to pypi.python.org
79-
- ``python setup.py sdist upload``
80-
- use testpypi.python.org first to ensure there aren't any problems
81-
82-
8380
Docs
8481
----
8582
- create release notes docs

0 commit comments

Comments
 (0)