release

GitHub

指导如何执行 Memoria 项目的版本发布流程,包括版本号更新、生成变更日志、构建多平台二进制文件、推送 Docker 镜像及创建 GitHub Release。

skills/release/SKILL.md matrixorigin/Memoria

Trigger Scenarios

需要发布新版本 执行版本升级 构建并推送 Docker 镜像

Install

npx skills add matrixorigin/Memoria --skill release -g -y
More Options

Use without installing

npx skills use matrixorigin/Memoria@release

指定 Agent (Claude Code)

npx skills add matrixorigin/Memoria --skill release -a claude-code -g -y

安装 repo 全部 skill

npx skills add matrixorigin/Memoria --all -g -y

预览 repo 内 skill

npx skills add matrixorigin/Memoria --list

SKILL.md

Frontmatter
{
    "name": "release",
    "description": "Cut a Memoria release. Version bump, CHANGELOG, CI workflows, Docker image. Use when publishing a new version."
}

Flow

Step Who How
Bump version, tag, push You make release VERSION=x.y.z
Build binaries (4 platforms) CI release-rust.yml
Build + push Docker image CI release-docker.yml
Create GitHub Release CI softprops/action-gh-release

Stable Release

git status              # Must be clean
make release VERSION=0.2.0

Does: update Cargo.toml version → cargo check → generate CHANGELOG (git-cliff) → commit → tag → push.

CI then: test → build binaries (x86_64/aarch64 linux/macos) → GitHub Release → Docker image (:0.2.0 + :latest).

Pre-Release

make release-rc VERSION=0.2.0-rc1

Same but: no CHANGELOG, GitHub Release marked prerelease, Docker gets :0.2.0-rc1 (not :latest).

Typical: rc1rc2 → stable.

Manual Docker Push

make release-docker                  # :latest
make release-docker VERSION=0.2.0   # :0.2.0 + :latest

CI Workflows

Workflow Trigger What
test.yml Push main/develop, PRs check + clippy + tests
pr-title.yml PR open/edit Conventional Commits validation
release-rust.yml Tag v* Test → build → GitHub Release
release-docker.yml Tag v* Test → build → Docker Hub

Both release workflows run full test suite before publishing.

Version Locations

  • memoria/Cargo.toml — source of truth
  • memoria --version — binary
  • mcp.json_version field
  • Steering rules — <!-- memoria-version: x.y.z -->

Checklist

  • Clean working tree, CI green on main
  • README/docs updated for user-facing changes
  • Steering rules updated if tool behavior changed
  • make release VERSION=x.y.z
  • Verify GitHub Release has 4 binaries + checksums
  • Verify Docker Hub has new tag

Version History

  • 63f0289 Current 2026-07-25 08:42

Same Skill Collection

plugins/clawhub/thememoria/SKILL.md
plugins/openclaw/skills/memoria-memory/SKILL.md
plugins/openclaw/skills/memoria-recovery/SKILL.md
skills/api-reference/SKILL.md
skills/architecture/SKILL.md
skills/deployment/SKILL.md
skills/local-embedding/SKILL.md
skills/plugin-development/SKILL.md
skills/setup/SKILL.md

Metadata

Files
0
Version
efd3d65
Hash
ae5264a7
Indexed
2026-07-25 08:42

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 08:25
浙ICP备14020137号-1 $Гость$