Browse code

Update RELEASE_INSTRUCTIONS

Each time I do this, it gets easier. Document steps for posterity.

Matt Domsch authored on 2015/09/18 23:49:51
Showing 1 changed files
... ...
@@ -24,19 +24,22 @@ In the below, 1.5.0-rc1 is the example version being released.  Salt to taste.
24 24
     step):
25 25
     chmod -R +rwx testsuite/permission-tests/permission-denied-dir && rm -rf testsuite
26 26
 
27
-8.  Build the "Source Distribution":
28
-    python setup.py sdist
29
-    -> Creates dist/s3cmd-1.5.0-rc1.tar.gz and dist/s3cmd-1.5.0-rc1.zip
30
-
31
-9.  If everything worked fine commit the above changes:
27
+8.  If everything worked fine commit the above changes:
32 28
     git commit -a -m "Update version to 1.5.0-rc1"
33 29
 
34
-10. Tag it:
30
+9. Tag it:
35 31
     git tag --sign -a v1.5.0-rc1 -m "Tag v1.5.0-rc1"
36 32
 
37
-11. Push back to github:
33
+10. Push back to github:
38 34
     git push --tags
39 35
 
36
+11.  Build the "Source Distribution":
37
+    python setup.py sdist upload --sign
38
+    -> Creates dist/s3cmd-1.5.0-rc1.tar.gz* and dist/s3cmd-1.5.0-rc1.zip*
39
+
40
+The upload step publishes it to PyPi, so 'pip install s3cmd' downloads
41
+the new version.
42
+
40 43
 
41 44
 That's it for building the release. Now upload it to SourceForge:
42 45