Skip to content

Add release workflow and Homebrew Cask for Stasis - #24

Open
DinanathDash wants to merge 2 commits into
srimanachanta:mainfrom
DinanathDash:chore/release-automation
Open

Add release workflow and Homebrew Cask for Stasis#24
DinanathDash wants to merge 2 commits into
srimanachanta:mainfrom
DinanathDash:chore/release-automation

Conversation

@DinanathDash

Copy link
Copy Markdown
Contributor

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:

  • Added a GitHub Actions workflow in .github/workflows/release.yml to 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 the main branch and handles semantic versioning, Xcode setup, DMG creation, and Homebrew Cask updates.
  • Added exportOptions.plist to specify manual signing and macOS app export method for Xcode archiving and exporting.

Homebrew distribution:

  • Added Casks/stasis.rb, a Homebrew Cask formula for the app, specifying version, SHA256, download URL, app installation, and uninstall steps for proper Homebrew integration.

@srimanachanta

Copy link
Copy Markdown
Owner

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.

@DinanathDash

Copy link
Copy Markdown
Contributor Author

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.

@DinanathDash

Copy link
Copy Markdown
Contributor Author

@srimanachanta I've updated the workflow to trigger builds on tags and removed the Homebrew Cask, as discussed. Could you please review the changes?

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