Skip to content

ci: allow publishing pre-release versions to PyPI#11

Merged
AdityaGolatkar merged 1 commit intostrands-labs:mainfrom
alexachille:ci/allow-prerelease-publish
Apr 30, 2026
Merged

ci: allow publishing pre-release versions to PyPI#11
AdityaGolatkar merged 1 commit intostrands-labs:mainfrom
alexachille:ci/allow-prerelease-publish

Conversation

@alexachille
Copy link
Copy Markdown
Contributor

Summary

  • Relax the version-validation regex in pypi-publish-on-release.yml to
    accept PEP 440 pre-release suffixes (aN, bN, rcN), so tags such as
    v0.2.0a2 are publishable.
  • Include the parsed version in the validation log line for easier diagnosis
    on failure.

Pre-releases are safe to publish: pip install strands-ai-functions keeps
resolving to the latest stable unless the user passes --pre or pins an exact
pre-release version.

Relax the version-validation regex in the PyPI publish workflow to
accept PEP 440 pre-release suffixes, so tags like v0.2.0a2 can be
released. Also echo the version in the validation output to make
failures easier to diagnose.
@AdityaGolatkar AdityaGolatkar self-requested a review April 30, 2026 07:15
@AdityaGolatkar AdityaGolatkar self-assigned this Apr 30, 2026
@AdityaGolatkar AdityaGolatkar merged commit 7e142f2 into strands-labs:main Apr 30, 2026
2 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