Files
minecraft-account-manager/design/us-016-automated-releases.md
T
dmg 420389d601
CI / validate (push) Successful in 6m40s
Release / release (push) Successful in 11m55s
ci(release): publish versioned artifacts
2026-08-01 15:02:31 -04:00

2.3 KiB

type, title, description, tags, timestamp, story_id, status
type title description tags timestamp story_id status
User Story Build and publish versioned releases Gitea Actions validate every change and publish semantically versioned Velocity and container artifacts.
operations
ci
release
velocity
docker
2026-08-01T19:01:47Z US-016 implemented

User Story

As a platform operator, I want automated validation and semantic releases, so that deployable web, migration, and Velocity artifacts are reproducible and downloadable.

Acceptance Criteria

  • Pushes and pull requests run OKF validation, linting, type checks, tests, the web build, and the Velocity build.
  • Pull requests validate conventional commit messages.
  • CI uploads the development Velocity JAR as a workflow artifact.
  • Main-branch conventional commits determine the next semantic version and create a vMAJOR.MINOR.PATCH tag.
  • A release build embeds the semantic version in the Velocity plugin and JAR filename.
  • A public Gitea release exposes the versioned Velocity JAR as a downloadable asset.
  • Releases publish versioned and latest web runtime images to the Gitea registry.
  • Releases publish versioned and latest migration images that run versioned Drizzle migrations.
  • Runtime containers use unprivileged users and exclude development source and secrets where practical.
  • Operators are told which repository secrets must be configured before the first push.

Implementation

Validation

Local OKF, lint, typecheck, test, Next.js build, and versioned Velocity JAR checks pass. A test 1.2.3 JAR was generated with matching Velocity metadata. Workflow YAML parses successfully. Container builds and remote publication remain pending because the local Docker daemon is unavailable and the first push is intentionally paused until repository secrets are configured.

Related Stories