Add automated release workflow and update changelog structure#131
Merged
Add automated release workflow and update changelog structure#131
Conversation
- Create create-release.yml workflow for manual release creation - Workflow takes version number as input, validates format - Updates CHANGELOG.md: converts Unreleased section to new version with date - Adds fresh Unreleased section with placeholder categories - Updates pyproject.toml version and runs uv sync for lock file - Commits changes directly to main, creates tag, and publishes GitHub release - Add Unreleased section to CHANGELOG.md for immediate use - Add missing version links (0.5.1, 0.5.2) to CHANGELOG footer https://claude.ai/code/session_01SdXt6AhvcV6GzfLkoePAby
…tion-oPtrn # Conflicts: # CHANGELOG.md
… handling - Add create-release.yml workflow for manual release creation - Takes version number as input, validates X.Y.Z format - Updates CHANGELOG.md: converts Unreleased section to new version with date - Adds fresh Unreleased section with placeholder categories - Updates pyproject.toml version and runs uv sync - Commits to main, creates tag, and publishes GitHub release - Update commit job (v1.4.0) with changelog guidance: - Changelog entries must go in the [Unreleased] section - NEVER modify version numbers in pyproject.toml or CHANGELOG.md - Added quality criteria for changelog handling https://claude.ai/code/session_01SdXt6AhvcV6GzfLkoePAby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces an automated release workflow that streamlines the process of creating new releases for the DeepWork project. It includes a GitHub Actions workflow that handles version validation, changelog updates, version bumping, and GitHub release creation.
Key Changes
New GitHub Actions Workflow (
create-release.yml): Implements a manual dispatch workflow that:pyproject.tomluv syncUpdated CHANGELOG.md:
Implementation Details
workflow_dispatchto allow manual triggering with a version input parameterawkto intelligently handle both existing and non-existing Unreleased sectionsgithub-actions[bot]usercontents: writepermission to create releases and push commitsUsage
To create a release, trigger the workflow manually from the Actions tab with the desired version number (e.g., 0.6.0).