证据快照复核于 2026-08-30GitHub 数据核对日期: 2026-08-21
来源已审查独立 Skill开发工具

dsh-release

DSH 工作流技能

快速了解

它能做什么

DSH 工作流技能

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

能力
开发工具release-managementgit-workflows

选择前先看

DSH 工作流技能 供应的技能文档描述了其工作流和边界。

适合谁

需要可重复工程工作流的用户。

常见任务

  • 在任务符合其触发条件时按文档工作流执行。

权限与数据

该技能用于指导本地工作流决策;外部行为未经过独立审计。

权限
  • 使用文档中的工作流。
数据处理
  • 本轮未独立审计数据处理方式。
外部服务
  • 外部服务以供应项目说明为准。
凭据
  • 本轮未独立测试凭据要求。

局限

  • 运行时兼容性和安装行为尚未得到证明。

DSHub 已核对

  • 已记录固定源代码和技能文档。

DSHub 未核对

  • 本轮未安装或运行测试。

固定版本安装

主要操作

这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

Skill 使用说明

查看 commit effbc05 对应的 SKILL.md
维护者编写的上游内容原文于 2026/8/29.agents/skills/dsh-release/SKILL.md 获取,正文和仓库相对媒体固定到 commit effbc051049c,内容哈希为 a3a626899235。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

name: dsh-release description: This skill guides Oh-DSH stable application releases from version preparation through GitHub artifact publication and recovery. Use when preparing a vX.Y.Z release, changing package.json for a release, creating or pushing a release tag, monitoring the Release workflow, or recovering from packaging failure.

Oh-DSH Stable Release

This skill covers the application release workflow in .github/workflows/release.yml. The runtime-only workflow is separate and must not be used for a stable application release.

Prepare a release PR

  1. Start from an up-to-date main with a clean worktree. Confirm the target version has no local or remote tag or GitHub Release.

  2. Set package.json to the numeric semver X.Y.Z; the v prefix belongs only to the Git tag vX.Y.Z.

  3. Validate the invariant before publishing:

    VERSION="${VERSION:?set VERSION to the numeric X.Y.Z release}"
    node scripts/validate-release-tag.mjs \
      --tag "v$VERSION" --version "$(node -p "require('./package.json').version")"
    
  4. Run pnpm run typecheck, pnpm test, pnpm run build, the Agent Notes checks, the bilingual pairing check, and git diff --check.

  5. Commit the version change and any release-process maintenance in English, using <module>: <subject> with a body that explains why and impact. Open a PR that lists scope, checks, and the exact version/tag pair.

  6. Do not create the tag until this PR is merged and origin/main contains the validated version.

Cut and monitor the release

  1. Fetch origin/main and tags. Derive the release values from the current manifest so this phase does not depend on a previous shell:

    VERSION="$(node -p "require('./package.json').version")"
    TAG="v$VERSION"
    

    Verify the checked-out main is the exact commit to release, the manifest/tag validation passes, and the target tag is absent remotely.

  2. Create an annotated tag on that commit and push only that tag:

    git tag -a "$TAG" origin/main -m "Oh-DSH Desktop $TAG"
    git push origin "$TAG"
    
  3. Find the Release workflow run for the tag with gh run list, then use gh run watch <run-id> --exit-status. Treat each matrix package as pending until the run finishes; inspect failures with gh run view <run-id> --log-failed.

  4. On success, verify the GitHub Release and its expected desktop, Web, TUI, runtime, checksum, and updater-metadata assets before reporting completion.

Recover from a packaging failure

Do not delete a tag while its workflow is still running. First capture the run URL and failed job, confirm the failure is deterministic and source-related, and confirm no Release or partial published assets require maintainer recovery. For a source fix, delete only the verified failed tag, create a fix PR from main, run the relevant checks, and wait for that PR to merge before retagging the new origin/main commit:

git push origin --delete "$TAG"
git tag -d "$TAG"

Do not force-push or delete an unrelated tag. Reuse the release name only after the failed tag is verified deleted, the fix PR is merged, and the new origin/main commit passes version validation. For an infrastructure-only failure, prefer rerunning the failed workflow when possible. If a Release or assets already exist, stop and use the repository's maintainer recovery path instead of deleting history.

Handoff

Report the merged version commit, tag object and target commit, workflow URL, final matrix result, Release URL, asset verification, and any unresolved gap.

有意识地管理

安装与管理

前置条件与目标 Profile

目标 没有原生 DSH Profile 目标。

交付方式 Skill 文件 — https://github.com/hust-open-atom-club/oh-dsh

兼容性与访问范围

requires_host_review Not established by supplied evidence

检查兼容性证据

风险事实

execution

Review instructions before use.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

人工已批准

在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。

人工审查于 2026/8/29 UTC 15:16GitHub 事实核对日期: 2026/8/29 UTC 15:11

自当前证据基线以来,没有记录到重要源码变化。

下一步

比较生态 Artifact 类型

订阅重要变化: dsh-release