slide-serve icon indicating copy to clipboard operation
slide-serve copied to clipboard

WIP: Support for GoReleases / Homebrew

Open mpas opened this issue 6 years ago • 4 comments

Added intial possiblity to get build published via GoReleaser and also generate a Homebrew formula. In order to adapt this pull request the goreleaser.yml needs adaptation so the homebrew formula can be published to your own repo (cdreier/homebrew-slide-serve) This repo needs to be created.

The build also has been changed to use GoReleaser (https://goreleaser.com) This allows simple semantic versioning out of the box.

Closes: #13

mpas avatar Mar 19 '19 11:03 mpas

The homebrew formula can be tested using:

brew tap mpas/slide-serve
brew install slide-serve

mpas avatar Mar 19 '19 11:03 mpas

It's a shot get things also going for Homebrew 😁 so please comment if I need to change something.

mpas avatar Mar 20 '19 11:03 mpas

Hey @mpas , sorry for the long silence and thanks for your patience ;)

Are there any official docs for homebrew and https://goreleaser.com/ ? Could not find anything on the homepage :/

I created the https://github.com/cdreier/homebrew-slide-serve, and as i am no mac user, can you test it when i merged it?

cdreier avatar Aug 03 '19 06:08 cdreier

one other note, if I understand correctly, everything from goreleaser runs in the image from the drone-step. can you change it from golang to drailing/go_packr_zip and build the binary with packr? to embedd all the assets i use packr, and i think the build would fail becaue goreleaser cannot find packr?

cdreier avatar Aug 03 '19 06:08 cdreier