heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.7k stars 179 forks source link

Homebrew cask #42

Open atymic opened 6 months ago

atymic commented 6 months ago

Having this managed via brew would be epic :)

heyman commented 6 months ago

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.

junosuarez commented 6 months ago

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

heyman commented 6 months ago

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.

TJTorola commented 6 months ago

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.

heyman commented 6 months ago

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.

AlecRust commented 6 months ago

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