Skip to content

Configure bumpver for Concourse release pipeline#3220

Open
blarghmatey wants to merge 2 commits into
mainfrom
configure-bumpver
Open

Configure bumpver for Concourse release pipeline#3220
blarghmatey wants to merge 2 commits into
mainfrom
configure-bumpver

Conversation

@blarghmatey
Copy link
Copy Markdown
Member

What are the relevant tickets?

N/A

Description (What does it do?)

Adds [tool.bumpver] configuration to pyproject.toml so the Concourse
release pipeline can update the application version automatically on each
release.

The new version format is YYYY.MM.DD.N (e.g., 2026.04.16.1), which
replaces the previous semver-style version strings. This is required by the
Concourse release resource workflow being rolled out in
mitodl/ol-infrastructure#4506.

The VERSION constant in Django settings is updated to the initial release
format version as part of this change.

How can this be tested?

  1. With bumpver installed (pip install bumpver), run bumpver update --dry from the repo root and confirm it shows the expected diff with no errors.
  2. Check that VERSION in Django settings matches current_version in pyproject.toml.

Additional Context

Part of the Concourse release pipeline modernization — migrating from the Doof
Slack bot to a Concourse-native release workflow using GitHub Issues as
production gates.

Copilot AI review requested due to automatic review settings April 16, 2026 20:20
Comment thread main/settings.py Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds bumpver configuration so the Concourse release pipeline can automatically bump the app’s release version using a date-based scheme.

Changes:

  • Add [tool.bumpver] configuration to pyproject.toml, including file patterns for version replacement.
  • Update main/settings.py VERSION constant to the new YYYY.MM.DD.N format.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Adds bumpver config and a file pattern intended to update the Django VERSION string during releases.
main/settings.py Updates the VERSION constant to the initial date-based release version used by the pipeline.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
@blarghmatey blarghmatey force-pushed the configure-bumpver branch 2 times, most recently from 8e8a5d4 to f9f0bc9 Compare April 27, 2026 18:42
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

OpenAPI Changes

No changes detected

View full changelog

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

- Add bump-my-version configuration to pyproject.toml with CalVer format
- Track version in pyproject.toml [project] section
- Track version in uv.lock
- Replace test_semantic_version with test_bump_my_version_format

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

2 participants