8000 Publishing excellence · Issue #1410 · django-components/django-components · GitHub
[go: up one dir, main page]

Skip to content

Publishing excellence #1410

@JuroOravec

Description

@JuroOravec

This issue is a catch-all to discuss future potential changes to the publishing flow. Follow up from #1409.

  1. Automate the Github release flow, making the CHANGELOG.md the source of truth.

    Right now the release flow is manual:

    • One updates the version in pyproject.toml and CHANGELOG and pushes that to master
    • I then usually create a new git tag via Github releases UI, so I can format the release notes, copying the text from CHANGELOG, and sometimes formatting it a bit.
    • The CI picks up on the new git tag and publishes package to PyPI.

    When we get to v2, our release flow may become more complex if we support both v1 and v2 simultaneously.

    At that point it may make sense to also automate the second step, the creation of new git tag and new Github release.

  2. Pre-releases - Once we get close to v1, it might be necessary to use pre-releases / release candidates (e.g. 1.0.0rc1 or 1.0.0dev1, see PEP 440 and this SO thread) to do final changes or fixes.

    At that point, we might want to modify the logic in our documentation workflow, which sets the newly released git tag as the "latest".

    Because if I e.g. release a candidate 1.0.0rc1, then the documentation should still point to the previous version (< 0.x.x) as "latest". Only once we actually release 1.0.0 should the documentation point to that as "latest".

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic--v2type--operationsRelating to "operations" - Github Actions, processes, etc.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0