Files
spigot-tree-feller/design/user-stories/us-009-build-and-release-tree-feller.md
T

1.9 KiB

type, title, description, status
type title description status
User Story US-009: Build and release Tree Feller Give maintainers repeatable Spigot builds, automated verification, and versioned Gitea releases. in-progress

US-009: Build and release Tree Feller

As a plugin maintainer, I want automated builds and releases modeled on spigot-getgud so that tested, correctly versioned Tree Feller artifacts can be distributed consistently.

Acceptance criteria

  • The Gradle project compiles against Spigot API 26.2-R0.1-SNAPSHOT using a Java 17 toolchain.
  • Compiler lint warnings fail the build.
  • Automated JUnit 5 tests run as part of the Gradle check lifecycle.
  • Pushes and pull requests build and test Tree Feller in Gitea Actions.
  • Pull requests validate conventional commit messages.
  • CI stores a development Tree Feller JAR as a workflow artifact.
  • Main-branch conventional commits drive semantic versioning.
  • A successful release builds a versioned Tree Feller JAR and attaches it to the corresponding Gitea release.
  • Build files, Gradle wrapper, workflows, release behavior, and Java dependency versions follow ../spigot-getgud/ where applicable while using Tree Feller names and identifiers.
  • Plugin metadata declares the player and administrative command trees with separate permissions.
  • The approved user-story bundle is committed before implementation begins.
  • Subsequent implementation follows test-driven development where practical and keeps story statuses and acceptance criteria synchronized with verified behavior.
  • No remote push is performed until the maintainer confirms that the Gitea repository and release token secret are ready.