robbielyman / seamstress

seamstress is an art engine
GNU General Public License v3.0
129 stars 12 forks source link

[wip] CI/CD for automated builds on #39

Closed p3r7 closed 1 year ago

p3r7 commented 1 year ago

⚠️ do not merge yet ⚠️

what remains to do:


this PR provides automated builds using github actions when tagging.

rn, the tag needs to be in the form X.X.X.

pro-tip for magit use `t` then `r` to create a "release tag". `P` then `t` pushes to origin.

it then creates a draft release w/ the built assets (accessible at /releases), that'd need to be edited & published to make it a proper release).

also, to allow github actions to create a release, it needs a specific config in the repo's settings.

setup instructions go there: ![seamstress_ci_1](https://github.com/ryleelyman/seamstress/assets/11557146/8eab8549-eb4f-4d12-a502-9ac7130638b4) check those boxes & save: ![seamstress_ci_2](https://github.com/ryleelyman/seamstress/assets/11557146/7ca21421-217e-451a-9b93-105d735c1948)

PLEASE "SQUASH & MERGE", COMMIT HISTORY IS A MESS

robbielyman commented 1 year ago

I did a little futzing with this to get things working on my end: check out the ci-cd branch for where I ended up. I could use your help getting my ducks in a row with the drafting release part—it wasn't clear to me how to do that with two different jobs running. since a good chunk of people using seamstress apparently are on M1 mac, I'll also look into using my own machine (gulp) for CI/CD.