Skip to content

Add release-please workflow for automated releases#4

Merged
chenpeizhi merged 5 commits intomasterfrom
copilot/add-release-please-workflow
Nov 9, 2025
Merged

Add release-please workflow for automated releases#4
chenpeizhi merged 5 commits intomasterfrom
copilot/add-release-please-workflow

Conversation

Copy link
Contributor

Copilot AI commented Nov 9, 2025

Implements automated release management using release-please to handle versioning, changelog generation, and GitHub releases based on conventional commits.

Changes:

  • .release-please-manifest.json - Tracks current version (0.1.0)
  • release-please-config.json - Configures simple release type with automatic version updates in CMakeLists.txt
  • .github/workflows/release-please.yml - Workflow triggers on master branch pushes, creates/updates release PRs
  • CHANGELOG.md - Initial changelog for 0.1.0 release
  • README.md - Documents release process and conventional commit usage

Workflow behavior:

When conventional commits are pushed to master, release-please creates a PR with:

  • Version bump in CMakeLists.txt (feat: → minor, fix: → patch, BREAKING CHANGE: → major)
  • Updated CHANGELOG.md from commit messages
  • GitHub release created when PR is merged
Original prompt

Add please-release (https://github.com/googleapis/release-please) workflow for automated releases.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 9, 2025 19:11
Co-authored-by: chenpeizhi <8114085+chenpeizhi@users.noreply.github.com>
Co-authored-by: chenpeizhi <8114085+chenpeizhi@users.noreply.github.com>
Copilot AI changed the title [WIP] Add release please workflow for automated releases Add release-please workflow for automated releases Nov 9, 2025
Copilot AI requested a review from chenpeizhi November 9, 2025 19:16
@chenpeizhi chenpeizhi marked this pull request as ready for review November 9, 2025 20:40
Copilot AI review requested due to automatic review settings November 9, 2025 20:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR sets up automated release management using release-please, initializing the project at version 0.1.0. It also updates the README acknowledgments section with more detailed attribution information and corrects a spelling error in a developer's name.

  • Configures release-please for automated releases triggered by conventional commits to the master branch
  • Adds initial CHANGELOG with version 0.1.0
  • Expands README acknowledgments section with comprehensive project history and current maintainers

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
release-please-config.json Configures release-please to manage releases for libcanon with CMakeLists.txt version updates
.release-please-manifest.json Sets initial version to 0.1.0
CHANGELOG.md Creates initial changelog documenting the migration to GitHub Actions
.github/workflows/release-please.yml Adds GitHub Actions workflow to automate releases on master branch pushes
README.md Adds Releases section and expands Acknowledgments with detailed attribution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenpeizhi chenpeizhi merged commit 5d99fd1 into master Nov 9, 2025
2 checks passed
@chenpeizhi chenpeizhi deleted the copilot/add-release-please-workflow branch November 9, 2025 20:44
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.

3 participants