Skip to content

Add release workflow#49

Open
bschwedler wants to merge 1 commit intomainfrom
release-workflow
Open

Add release workflow#49
bschwedler wants to merge 1 commit intomainfrom
release-workflow

Conversation

@bschwedler
Copy link
Copy Markdown
Contributor

Summary

Adds a workflow_dispatch workflow that automates version creation and patching when a new product version ships. Accepts a version string, determines whether to create a new edition or patch an existing one, updates README version references, and opens a PR.

Uses GitHub App token so CI runs automatically on the created PR.

Images: workbench, workbench-session-init

Depends on: posit-dev/images-shared#393

Test plan

  • Trigger workflow with a test version and verify PR is created
  • Verify bakery.yaml has new version with correct subpath and latest flag
  • Verify READMEs are updated

Automates version creation and patching when a new product
version ships. Accepts a version string via workflow_dispatch,
determines whether to create a new edition or patch an existing
one using bakery CLI, updates README version references, and
opens a PR.

Uses GitHub App token so CI runs automatically on the PR.

- Uses `bakery get version` to detect existing editions
- Uses `bakery update version` for patches (auto-detects edition)
- Uses `bakery create version` for new editions
- Two-pass sed for README updates (full version then edition)
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.

1 participant