Skip to content

Autorelease 0.1.0#50

Merged
dwhswenson merged 1 commit intostablefrom
release-0.1.0
Dec 6, 2019
Merged

Autorelease 0.1.0#50
dwhswenson merged 1 commit intostablefrom
release-0.1.0

Conversation

@dwhswenson
Copy link
Copy Markdown
Owner

This is the public-ready version of Autorelease. Thanks to the ability to import Travis configs, this can now finally be the project I've wanted it to be -- easily used by different projects, my own or those of others.

More docs still need to be written, but the main idea is that you keep a particular branch stable from which you do your releases. When you want to do a release, you make a PR against stable. It runs tests and a test deployment; when merged it cuts a GitHub release and pushes the real deployment. All without you needing to worry about it!

Basic setup process is:

  • vendor the setup.py and version.py scripts from here
  • write your setup.cfg
  • add a few environment variables to your Travis script: AUTORELEASE_TOKEN (a GitHub personal access token) and pypi credentials $TWINE_USERNAME and $TWINE_PASSWORD (should be the same for both pypi and testpypi)
  • import dwhswenson/autorelease:autorelease-travis.yml@v0.1.0 in your Travis script
  • optionally, write a small script to check that your branch/version behavior is correct

(Note: Version 0.1.0 is essentially a repackaging of 0.0.18, so there is no changelog here.)

@dwhswenson dwhswenson merged commit 1d4d922 into stable Dec 6, 2019
@dwhswenson dwhswenson deleted the release-0.1.0 branch December 6, 2019 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant