Files
spigot-trigger-spawn/design/user-stories/us-007-build-and-release-plugin.md
T
dmg 152cac0740
Release / release (push) Failing after 10s
CI / build (push) Successful in 2m4s
build: scaffold Spigot plugin project
2026-08-08 13:10:04 -04:00

26 lines
1.1 KiB
Markdown

---
type: User Story
title: "US-007: Build and release the plugin"
description: Give maintainers repeatable Spigot 26.2 builds, automated verification, and versioned Gitea releases.
status: done
---
# US-007: Build and release the plugin
As a **plugin maintainer**, I want automated builds and releases so that tested, correctly versioned plugin artifacts can be distributed consistently.
## Acceptance criteria
- [x] The Gradle project compiles against Spigot API `26.2-R0.1-SNAPSHOT` using a Java 17 toolchain.
- [x] Automated JUnit 5 tests run as part of the Gradle check lifecycle.
- [x] Pushes and pull requests build and test the plugin in Gitea Actions.
- [x] Pull requests validate conventional commit messages.
- [x] CI stores a development JAR as a workflow artifact.
- [x] Main-branch conventional commits drive semantic versioning.
- [x] A successful release builds a versioned JAR and attaches it to the corresponding Gitea release.
- [x] The build and release workflow follows the established `spigot-event-producer` project pattern where applicable.
## Related
- [User-story catalog](index.md)