Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add machinery for auto-releases #326

Closed
wants to merge 2 commits into from

Conversation

stephenfin
Copy link

It would be great to get a new release that includes the fixes necessary for use with Django 3.0. This PR adds support for auto-releasing of packages to PyPI. It needs some manual modifications from someone with write access to the project on PyPI, but once done cutting a new release should be as simple as pushing a new tag.

The necessary steps are described here. In short, you'll need to run the following:

  1. Generate an API token from here.

  2. Install the travis gem

    gem install travis --no-rdoc --no-ri
    
  3. Generate an encrypted, project-specific version of that token.

    travis encrypt [your-api-token]
    
  4. Paste the encrypted token into the jobs.include[0].deploy.password.secure setting

  5. Profit

Use our README on PyPI to avoid the following warning:

  The author of this package has not provided a project description

Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Stephen Finucane <stephen@that.guru>
@ZuluPro
Copy link
Contributor

ZuluPro commented Apr 14, 2020

Hello @stephenfin
While we understand the requirement of automation,
Someone still must to be in charge.
The problem is more here

@stephenfin
Copy link
Author

That's a fair point. Feel free to close this if it's not useful. Also, let me know if there's anything I can do to help. It would just be another Python package to maintain.

@jonathan-s jonathan-s added this to the 3.4.0 milestone Sep 21, 2020
@jonathan-s jonathan-s mentioned this pull request Nov 7, 2020
5 tasks
@jonathan-s
Copy link
Contributor

Hi @stephenfin, thanks for contributing this. Since travis has gotten a lot worse as of late we've decided to switch to github actions. I'll bring this idea with me though to implement it there.

@jonathan-s jonathan-s closed this Nov 7, 2020
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.

3 participants