Skip to content

Use pyproject.toml as version source; CI bump/tag/publish#226

Merged
shanejbrown merged 1 commit intoadobe:mainfrom
shanejbrown:version-fix
Feb 19, 2026
Merged

Use pyproject.toml as version source; CI bump/tag/publish#226
shanejbrown merged 1 commit intoadobe:mainfrom
shanejbrown:version-fix

Conversation

@shanejbrown
Copy link
Contributor

@shanejbrown shanejbrown commented Feb 19, 2026

  • Read version from package metadata (importlib.metadata), fallback to "DEVELOPMENT"
  • Validate config version against buildrunner version; drop version.py and VERSION_FILE_PATH
  • CI: bump patch on push to main (skip for bot bump commits), tag and publish only when bump ran
  • Add VERSIONING.md; tests patch buildrunner.version instead of version file

What does this PR do?

What issues does this PR fix or reference?

Previous Behavior

New Behavior

Merge requirements satisfied?

  • I have updated the documentation or no documentation changes are required.
  • I have added tests to cover my changes.
  • I have updated the base version in pyproject.toml (if appropriate).

- Read __version__ from package metadata (importlib.metadata), fallback to "DEVELOPMENT"
- Validate config version against buildrunner __version__; drop version.py and VERSION_FILE_PATH
- CI: bump patch on push to main (skip for bot bump commits), tag and publish only when bump ran
- Add VERSIONING.md; tests patch buildrunner.__version__ instead of version file
@shanejbrown shanejbrown merged commit 3a10e91 into adobe:main Feb 19, 2026
11 checks passed
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