1dustindavis / gorilla

Munki-like Application Management for Windows
Apache License 2.0
186 stars 21 forks source link

Automated releases with Github Actions! #109

Closed discentem closed 3 years ago

discentem commented 3 years ago

What does this PR do?

Note: every change is considered a minor release based on the minor_pattern regex I wrote. I figured this was the best way to automatically version with reasonably nice version numbers. See build_release.yml and https://github.com/PaulHatch/semantic-version#usage for more context. There are many ways the automatic versioning could work though and I'm happy to make changes as desired.

Please let know if you have feedback or questions! Thanks!

1dustindavis commented 3 years ago

Thanks @discentem! This looks great!

Only change I can think of is maybe marking prerelease as true?

discentem commented 3 years ago

prelease is now true in build_release.yml as requested.

At one point I have tried to run tests on each pull request but that seemed to fail: https://github.com/1dustindavis/gorilla/actions/runs/783487440. Maybe go-test.yml succeeds due to pinning to an older version of go? I'm not sure. Are you okay with addressing this in a separate PR?

1dustindavis commented 3 years ago

Yeah, I'm pretty sure that's related to a change in a more recent version of go. Seems reasonable if this PR ignores that issue.

1dustindavis commented 3 years ago

Just merged, lets hope a new release comes out the other side! Thanks again @discentem!