Closed voruti closed 3 years ago
~To eliminate to need of updating the server pack on every new release, https://github.com/voruti/GithubLatestAsset could be used. I have an instance of the program running on my server, which would result in the following URL https://github.redno.de/sebinside/CraftBlock, which will always redirect to the latest release file.~
Edit: Fixed with GitHub Actions
Oh hell. Might squash / interactively rebase your commits 🙄
~The complete
server/
folder can be zipped and added as server pack to CurseForge.~~The
server/world/
folder is just a 1:1 copy of thetemplate/
folder. If a change is made in the template, the server world has to be updated as well...~~On a new release the following has to be updated:~ ~- In
server/server-setup-config.yaml
themodpackUrl
field must contain the direct link to download the new/latest release.~Edit: GitHub Actions does all of this now.
One thing that must be followed: The release file for the client (eg.
CraftBlock-1.2.0.zip
) must match the Git tag name! So if the Git tag is prefixed with a "v" (eg.v1.2.0
), then the client file also has to contain the "v" (→CraftBlock-v1.2.0.zip
)!A release would look like this: https://github.com/voruti/CraftBlock/releases/tag/v1.2.13