heynote icon indicating copy to clipboard operation
heynote copied to clipboard

Homebrew cask

Open atymic opened this issue 1 year ago • 6 comments

Having this managed via brew would be epic :)

atymic avatar Dec 23 '23 00:12 atymic

I have no experience of creating Homebrew casks so I would need help setting that up.

Also, how would you expect auto updates to be handled? Currently Heynote's auto update feature looks at Github releases and when an update is applied, the program files are replaced with the new version.

heyman avatar Dec 23 '23 11:12 heyman

For me ideally, as in #53 I'd like to turn off the app's own auto-updating and instead have updates entirely handled by homebrew casks.

@heyman if you're open to the idea, this might be a great feature for the community to contribute, based on interest.

I searched real quick and noticed there's already an open PR for this, it would be great to get your official blessing: https://github.com/Homebrew/homebrew-cask/pull/163172

junosuarez avatar Dec 23 '23 19:12 junosuarez

It would make sense to have a setting that turns off auto updates.

I don't have the time to set up releases through Homebrew, but if someone else wants to, I don't mind :)? And if it's possible to automate it with a Github action on version tags, I'd be happy to merge such a PR.

heyman avatar Dec 27 '23 00:12 heyman

Duplicate of https://github.com/heyman/heynote/issues/35. It looks like with https://github.com/Homebrew/homebrew-cask/pull/163172 though both this issue and the one I opened are resolved now.

TJTorola avatar Dec 27 '23 14:12 TJTorola

The file https://github.com/Homebrew/homebrew-cask/blob/master/Casks/h/heynote.rb refers to the 1.4.2 version (I've now released 1.5.0). I wonder if there's a way to automate version bumping. I don't know what's common practice in the Homebrew world.

heyman avatar Dec 27 '23 14:12 heyman

I wonder if there's a way to automate version bumping. I don't know what's common practice in the Homebrew world.

There sure is, here's an example: https://github.com/jdx/rtx/blob/main/.github/workflows/release.yml#L237

AlecRust avatar Dec 27 '23 15:12 AlecRust