- Work from a clean
mainbranch. - Ensure CI is green.
- Verify local checks:
mvn -B -ntp verify
mvn -B -ntp -DskipTests checkstyle:checkUse update_version.sh to bump major, minor, or patch:
./update_version.sh patchThe script updates:
pom.xml(via Mavenversions:set; source of truth)src/main/java/nl/hauntedmc/dataprovider/platform/velocity/VelocityDataProvider.java
Manual step:
- Update README dependency version examples if needed.
Then it commits and tags (vX.Y.Z) locally.
Push when ready:
git push && git push origin vX.Y.ZWorkflow: .github/workflows/release-package.yml
Trigger:
- push tag matching
v*(for examplev1.20.5)
What it does:
- Builds the jar.
- Uploads the distributable artifact.
- Deploys Maven package to GitHub Packages.
- Creates a GitHub Release with generated notes and attached jar.
- Repository:
https://maven.pkg.github.com/HauntedMC/DataProvider - GroupId:
nl.hauntedmc.dataprovider - ArtifactId:
dataprovider - Version: release version (without leading
v)