基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flodef/Tradiz --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | release |
| description | Merge dev into main, bump version, tag, push, and create a GitHub release to trigger the CI build and auto-updater |
dev branch with all changes committed and pushedpackage.json version has been bumped; the auto-updater only triggers on higher version numbers, and reinstalling the same version can cause issuesorigin/main is the production branchbuild-windows-installer.yml triggers on release: publishedAdjust VERSION if needed. This merges dev into main, tags, pushes, and creates a GitHub release.
VERSION=$(bun -e 'console.log(require("./package.json").version)') && \
git checkout main && \
git merge dev --no-edit && \
git tag "v${VERSION}" && \
git push origin main && \
git push origin "v${VERSION}" && \
gh release create "v${VERSION}" --title "v${VERSION}" --notes "Release v${VERSION}" --latest && \
git checkout dev
build-windows-installer.yml workflow fires on the new releasebun electron:publish:win which builds the installer and uploads latest-ia32.yml + assets to the GitHub release# Check workflow status
gh run list --limit 3
# Check release assets
gh release view "v${VERSION}"
Build installers locally to copy directly to the POS without relying on GitHub Actions.
bun electron:dist:win:ci
Output: dist/Tradiz-<version>-win-ia32.exe and dist/Tradiz-<version>-win-x64.exe
Copy the ia32 installer to the POS (32-bit Oxhoo) and run it.
bun electron:dist:linux:ci
Output: dist/Tradiz-<version>-linux-x86_64.AppImage and dist/Tradiz-<version>-linux-amd64.deb
# Adjust the path to match your POS network share / USB mount
cp dist/Tradiz-$(bun -e 'console.log(require("./package.json").version)')-win-ia32.exe /media/usb/