Slimefun

Slimefun

3M Downloads

Add a new `workflow_dispatch` trigger workflow to automatically publish new RCs

TheBusyBiscuit opened this issue · 2 comments

commented

I don't see any reason as to why the current workflow couldn't be automated.
Right now, I manually pull the master branch into the stable branch and then file a new release with the new name, git hash and copy/paste the description and everything.

The workflow_dispatch event also allows for parameters to be inserted and the creation of releases and pulling of branches can both be achieved via existing actions, given an access token.
So this should be easy to automate, I sadly have a lot to do at work and uni at the moment, so I would love it if someone could PR this.

For the workflow_dispatch trigger, we would need the following parameters:

  • Date of release (e.g. 20 Jun 2021)
  • Name of tag (e.g. RC-25)

and a copy/pasta variant of the existing releases text:
https://github.com/Slimefun/Slimefun4/releases/tag/RC-25

Thanks in advance ❤️

commented

Your issue seems to be missing our template.
Click here to create a bug report

Please remember that this Bug Tracker is exclusively reserved for Bug reports, any other form
of discussion, like suggestions or questions should be posted on our discord server (You can find a link on our main page).

commented

Reminder to myself: Make @TheBusyBot ignore me.