Commits

German Larrain committed dcae338

docs: updated instructions for maintainers

Comments (0)

Files changed (1)

docs/maintainers/Procedure to create and upload a release .txt

 2) update version/release number and commit. Change it in
 	ars/__init__.py
 
-3) tag previous changeset with the output of `ars.get_version()` e.g. '0.4a1'
+3) in branch 'default', merge with 'dev' and tag previous changeset
+(e.g. 1084 = 9fa5876718f0) with the output of `ars.get_version()` e.g. '0.5a2'
+	$ hg up default
+	$ hg merge dev-main
+	$ hg tag --rev 1084 "--message=Added tag 0.5a2 for changeset 9fa5876718f0" 0.5a2
 
 4) create and upload source distribution to PyPI
+Alternative A
 	$ python setup.py sdist --formats=gztar,zip upload
 
+Alternative B
+	Go to https://pypi.python.org/pypi?name=ARS&:action=submit_form
+	and "PKG-INFO file" > "Choose file" > "Add Package Info" to create a new
+	release manually. Then upload both files (gzip and zip) with "File type"
+	set to "source".
+
 5) test installation with 'pip'
 	$ sudo pip install ARS
 	$ python
 9) set the .zip as the default download for Windows and Mac OSX, and the .gz
 	for all the rest.
 
+NOT anymore (download URLs are dynamically created for tags e.g.
+	https://bitbucket.org/glarrain/ars/get/0.5a2.tar.gz
 10) upload the same files here: https://bitbucket.org/glarrain/ars/downloads
 
 11) Verify documentation builds passed here: https://readthedocs.org/builds/ars-project/