refactor(ci): 批量精简脚本执行路径#73
Merged
Merged
Conversation
- 收敛 classify 输出和 release smoke 中间脚本 - 删除 relay 下载与 release 架构检查单调用脚本 - 精简 DMG 私有 summary 并验证 release asset
CI SummaryRun: Open
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
scripts/ci/classify.shby consolidating repeated category and output handling.Why
The scripts directory had accumulated redundant wrappers and duplicate failure-reporting layers. This keeps the same CI and release behavior while reducing script size and the number of moving parts.
Validation
bash -n scripts/ci/*.sh scripts/dev/*.sh scripts/lib/*.sh scripts/release/*.sh scripts/build-relay.shshfmt -d scripts/ci/*.sh scripts/dev/*.sh scripts/lib/*.sh scripts/release/*.sh scripts/build-relay.shshellcheck -x -e SC2016 scripts/ci/*.sh scripts/dev/*.sh scripts/lib/*.sh scripts/release/*.sh scripts/build-relay.shjq -e '.categories | type == "object"' scripts/ci/classification-rules.jsonROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/test_classify.shROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/static.shROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/xcode.sh --action build --configuration Debug --out-dir .ai-tmp/scripts-reduction-xcode-buildROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/release/build.sh --tag v2.1.0 --arch arm64 --label arm64 --out-dir .ai-tmp/scripts-reduction-release-build-arm64ROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/release/verify.sh --assets-dir .ai-tmp/scripts-reduction-release-build-arm64/release-assets --tag v2.1.0 --label arm64 --arch arm64