Add release workflow and Homebrew Cask for Stasis - #24
Conversation
|
I'm against CI that automatically bumps version as id prefer to have manual control over versioning. How do you feel about refactoring this to generate builds on tags instead? Also, I want to keep the Formula in a separate tap as 1) that follows Homebrew best practices, and 2) is only temporary as I plan to upstream the Formula once I can afford an Apple Developer Account. |
Sure I will look into it what I can do. |
|
@srimanachanta I've updated the workflow to trigger builds on tags and removed the Homebrew Cask, as discussed. Could you please review the changes? |
This pull request introduces a new automated release workflow for the project, including building, signing, and packaging the macOS application, publishing releases to GitHub, and updating the Homebrew Cask formula. It also adds the initial Homebrew Cask file and the export options plist needed for macOS app distribution.
Release automation and packaging:
.github/workflows/release.ymlto automate building the app, generating a signed DMG, creating a GitHub release, and updating the Homebrew Cask formula and version in the repository. This workflow is triggered on pushes to themainbranch and handles semantic versioning, Xcode setup, DMG creation, and Homebrew Cask updates.exportOptions.plistto specify manual signing and macOS app export method for Xcode archiving and exporting.Homebrew distribution:
Casks/stasis.rb, a Homebrew Cask formula for the app, specifying version, SHA256, download URL, app installation, and uninstall steps for proper Homebrew integration.