mirror of
				https://github.com/ihabunek/toot.git
				synced 2025-10-21 19:44:16 -04:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.1 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.1 KiB
		
	
	
	
	
	
	
	
Release procedure
This document is a checklist for creating a toot release.
Currently the process is pretty manual and would benefit from automatization.
Bump & tag version
- Update the version number in setup.py
- Update the version number in toot/__init__.py
- Update changelog.yamlwith the release notes & date
- Run make changelogto generate a human readable changelog
- Commit the changes
- Run ./scripts/tag_version <version>to tag a release in git
- Run git push --follow-tagsto upload changes and tag to GitHub
Publishing to PyPI
- make distto create source and wheel distributions
- make publishto push them to PyPI
GitHub release
- Create a release for the newly pushed tag, paste changelog since last tag in the description
- Upload the assets generated in previous two steps to the release:
- source dist (.zip and .tar.gz)
- wheel distribution (.whl)
 
TODO: this can be automated: https://developer.github.com/v3/repos/releases/