restechnica / semverbot

A CLI which automates semver versioning.
Mozilla Public License 2.0
135 stars 6 forks source link

Goreleaser to provide automated homebrew and Scoop install packages for developer installs #15

Closed sheldonhull closed 3 years ago

sheldonhull commented 3 years ago

If you leverage goreleaser for the build, github release, homebrew update, and scoop packages can all be done with minimal effort as it's built into that tool.

I suggest Scoop since it's similar to Homebrew, but focused on Windows dev tools. Would be a nice way to make it more accessible to the different development platforms.

If you want a goreleaser config PR to help jump start just let me know. Be more than willing to help as I get some time.

shiouen commented 3 years ago

Hi @sheldonhull

That's a great suggestion. If you can find some time, I would really appreciate that! Looking forward to seeing your PR.

p.s. I might have to prep the repo somewhat to open it up to contributors outside 'restechnica', let me know if you need anything.

sheldonhull commented 3 years ago

I tried out this initially, and was hoping to run go install github.com/restechnica/semverbot@latest but for some reason it didn't seem to register as a tool in bin.

If that's a supported install mechanism then that's great as well, as would work on all platforms without more packaging complexity.

shiouen commented 3 years ago

Hey @sheldonhull I totally missed this comment - I think my github notifications aren't set up right. I'll try the go install for myself too and update you.

shiouen commented 3 years ago

@sheldonhull I just tried go install without issues, but I did notice the binary name is semverbot instead of sbot. For homebrew I use go build instead of go install, would that work with what you're trying to achieve? https://github.com/restechnica/homebrew-tap/blob/master/Formula/semverbot.rb

sheldonhull commented 3 years ago

The binary being different threw me for a loop. Maybe add that to the install directions on readme and call it a day :-) Was expecting binary to be same name as the directions. Thanks for the update!

sheldonhull commented 3 years ago

And contributors are allowed without issue if it's from a forked repo I'm pretty sure. Been swamped but if I get a chance I'll try and put an example together.