An open API service indexing awesome lists of open source software.

https://github.com/theo546/coreprotect-builder

Building it just for you.
https://github.com/theo546/coreprotect-builder

minecraft minecraft-server papermc papermc-plugin spigot

Last synced: about 1 month ago
JSON representation

Building it just for you.

Awesome Lists containing this project

README

          


CoreProtect Builder Logo

CoreProtect Builder



Download Latest Build



Direct Download (coreprotect.jar)


This repository automatically builds the latest version of [CoreProtect](https://github.com/PlayPro/CoreProtect) and releases it as a pre-release.

## How it works

1. A GitHub Action runs every day.
2. It checks the latest commit on the official CoreProtect repository.
3. It checks if a build is necessary:
* It checks for the latest existing release in this repository.
* If no release exists (first run), it builds.
* If a release exists, it compares the git diff between the last built SHA and the current upstream SHA.
* **It only triggers a new build if `.java` files have changed.** This avoids useless builds for README updates or other non-code changes.
4. If a build is required:
* Clones the repository.
* Patches `pom.xml` to set the branch to `development`.
* Builds the JAR using Maven.
* Creates a new GitHub Release with the tag `build-`.
* Uploads the `coreprotect.jar`.
* **Cleanup**: Automatically deletes old releases to keep only the 5 most recent ones.

## Usage

Check the [Releases](../../releases) page for the latest builds.