Sfoglia il codice sorgente

Added docs on release process.

Nuwan Goonasekera 9 anni fa
parent
commit
e3892566cd
2 ha cambiato i file con 22 aggiunte e 1 eliminazioni
  1. 2 1
      docs/topics/contributor_guide.rst
  2. 20 0
      docs/topics/release_process.rst

+ 2 - 1
docs/topics/contributor_guide.rst

@@ -9,5 +9,6 @@ CloudBridge Provider.
 
     Design Goals <design_goals.rst>
     Testing <testing.rst>
-    Provider development walkthrough <provider_development.rst>
+    Provider Development Walkthrough <provider_development.rst>
+    Release Process <release_process.rst>
 

+ 20 - 0
docs/topics/release_process.rst

@@ -0,0 +1,20 @@
+Release Process
+~~~~~~~~~~~~~~~
+
+1. Increment version number in cloudbridge/__init__.py as per semver rules.
+
+2. Freeze all library dependencies in setup.py. The version numbers can be a range
+   with the upper limit being the latest known working version, and the lowest being
+   the last known working version. 
+
+3. Run all tox tests.
+
+4. Add release notes to CHANGELOG.rst. Also add last commit hash to changelog.
+
+5. Release to PyPi 
+    ```
+    python setup.py sdist upload
+    python setup.py bdist_wheel upload
+    ```
+
+6. Tag release and make github release.