Skip to content

CI: Add automatic release creation on master branch push#7

Merged
zzy-life merged 1 commit intomasterfrom
claude/github-workflow-releases-GqSzh
Mar 21, 2026
Merged

CI: Add automatic release creation on master branch push#7
zzy-life merged 1 commit intomasterfrom
claude/github-workflow-releases-GqSzh

Conversation

@zzy-life
Copy link
Copy Markdown
Owner

Summary

This PR updates the GitHub Actions build workflow to automatically create and publish releases when changes are pushed to the master branch.

Key Changes

  • Whitespace cleanup: Fixed trailing whitespace inconsistencies throughout the workflow file for better code hygiene
  • New release automation step: Added a new "Update latest Release" job that:
    • Triggers only on pushes to the master branch
    • Uses softprops/action-gh-release@v2 to create/update a GitHub release
    • Tags releases as "latest" with prerelease flag enabled
    • Automatically uploads the generated MSI installer artifact to the release
    • Uses the GITHUB_TOKEN secret for authentication

Implementation Details

The new release step is configured to:

  • Only run on push events to refs/heads/master branch
  • Create a release tagged as "latest" (allowing multiple updates to the same tag)
  • Mark releases as prerelease to indicate they are development builds
  • Not set as the repository's latest release (make_latest: false)
  • Attach the built Desktop_Notes.msi file to each release for easy download

https://claude.ai/code/session_01Uax65Ef1naMGYCAzRHXB7Z

@zzy-life zzy-life merged commit 6abd528 into master Mar 21, 2026
1 check passed
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.

2 participants