Skip to content

Conversation

@flaticols
Copy link
Owner

Creates GitHub Release with auto-generated notes after version bump.

Copilot AI review requested due to automatic review settings December 14, 2025 12:14
@flaticols flaticols merged commit 3e9b441 into latest Dec 14, 2025
4 of 5 checks passed
@flaticols flaticols deleted the add-release-workflow branch December 14, 2025 12:15
Copy link

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 enhances the release workflow by automatically creating GitHub releases after version bumps. The workflow now captures the newly created tag and uses it to generate a GitHub release with auto-generated release notes.

Key Changes:

  • Captures the git tag after version bump for downstream use
  • Adds a new step to create GitHub releases automatically using the captured tag

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

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create GitHub Release
if: steps.bump.outputs.tag != ''
Copy link

Copilot AI Dec 14, 2025

Choose a reason for hiding this comment

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

The condition checks if the tag output is not empty, but if the bump step is skipped (when bump-type is empty), the tag output won't exist at all. This will cause a workflow error. The condition should also verify that the bump step was executed: steps.bump.outcome == 'success' && steps.bump.outputs.tag != ''

Suggested change
if: steps.bump.outputs.tag != ''
if: steps.bump.outcome == 'success' && steps.bump.outputs.tag != ''

Copilot uses AI. Check for mistakes.
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