Skip to content

chore: switch release workflow to release-please - #124

Merged
JamieSinn merged 1 commit into
mainfrom
chore/release-please
Nov 16, 2026
Merged

JamieSinn merged 1 commit into
mainfrom
chore/release-please

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • release.yml now runs release-please on push to main. When it creates a release, the publish job builds from the tag and publishes to PyPI with trusted publishing
  • release-please bumps devcycle_python_sdk/VERSION.txt through version-file, so no markers are needed
  • the version bump and release no longer push with AUTOMATION_USER_TOKEN

Related Issues

Same setup as DevCycleHQ/android-client-sdk#339

@jonathannorris
jonathannorris marked this pull request as ready for review November 16, 2026 20:50
@jonathannorris
jonathannorris requested a review from a team as a code owner November 16, 2026 20:50
Copilot AI balanced review requested due to automatic review settings November 16, 2026 20:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The release-please migration has no active review issues.

No open issues 🎉

What changed in this PR

Migrates the Python SDK’s release workflow to release-please, replacing manual version bumps and token-based pushes while keeping PyPI trusted publishing in the existing workflow.

Changes:

  • Runs release-please on pushes to main and manual dispatch.
  • Configures automatic updates to devcycle_python_sdk/VERSION.txt, starting from version 3.14.0.
  • Builds and publishes from the generated release tag only when a release is created.
File Description
release-please-config.json Configures simple releases and the SDK version-file path.
.release-please-manifest.json Sets the initial tracked release version to 3.14.0.
.github/​workflows/​release.yml Replaces manual release steps with release-please and conditional, tag-based PyPI publishing.

Review effort: Balanced

@JamieSinn
JamieSinn force-pushed the chore/release-please branch from 76f9b68 to e12bf99 Compare November 16, 2026 21:00
@JamieSinn
JamieSinn enabled auto-merge (squash) November 16, 2026 21:00
@JamieSinn
JamieSinn merged commit 380a2ce into main Nov 16, 2026
12 checks passed
@JamieSinn
JamieSinn deleted the chore/release-please branch November 16, 2026 21:05
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.

4 participants