The contributing guidelines are to be found here. The release procedure for pytest is documented on GitHub.