mcdata icon indicating copy to clipboard operation
mcdata copied to clipboard

Automation

Open Levertion opened this issue 6 years ago • 1 comments

This could be automated using a daily or weekly travis job. See https://github.com/Levertion/mcfunction-langserver/blob/6b7da801708271b0ef3e7c5960e1ad73eb4b4cf3/src/data/extractor/download.ts for an example of how this can be managed programatically.

The upload could be managed through a so called github pages deploy step, or through a ~~homebrew~~ homemade git based solution

Levertion avatar Apr 28 '18 19:04 Levertion

Somehow I missed this until today.

I have a semi-automated solution, locally, that depends on me supplying the version string to a Python script. It also depends on me using my personal account to push and host the repo itself. But overall it takes something on the order of 2 minutes whenever a snapshot is released, so I'm not in any hurry myself to spend what will most likely be a handful of hours automating it completely. Maybe if the interest randomly strikes me at some point, I'll give it a shot just for fun.

In any case, to entertain the idea, and for possible future reference, I think we'd ideally have a GitHub app/bot account that handles the publication to some repo under a shared namespace like @MinecraftCommands.

Arcensoth avatar May 30 '18 18:05 Arcensoth