Skip to content

Release process

Matías Aguirre edited this page Jan 12, 2021 · 4 revisions

Releases are handled by a Github Action Workflow, the status can be seen at the Actions section.

The action is triggered when a new Release is made public, but first the release needs to be properly marked in the code and CHANGELOG.md file, this must be done by opening a Release PR.

Follow this steps to prepare a new release:

  1. Edit social_core/__init__.py and update the release number in that module

  2. Edit CHANGELOG.md and update the Unreleased header with the release and proper tag link and date:

    From:

    ## [Unreleased](https://github.com/python-social-auth/social-core/)

    To:

    ## [4.0.2](https://github.com/python-social-auth/social-core/releases/tag/4.0.2) - 2021-01-10

  3. Commit your changes with a commit message similar to:

    Version bump 4.0.2

  4. Open a pull-request against master with a title similar to:

    Release 4.0.2

    and fill the needed fields in the PR template

  5. Request a review from the team by mentioning @python-social-auth/maintainers in the comments

When merged, somebody in the team needs to issue the release by:

  1. Go to Releases
  2. Click the Draft a new release button
  3. Fill the tag (4.0.2) in the Tag version input
  4. Fill the title (Release 4.0.2) in the Release title input
  5. Copy and paste the changelog section corresponding to the current release as the description
  6. Publish it

You can monitor the release action at the link mentioned above.

Clone this wiki locally