The v1.0.42 Gitee release served darwin-amd64/arm64 binaries that did NOT match checksums.txt (the macOS binaries are ad-hoc signed and differed between the GitHub release and the earlier mirror run), so install.sh's checksum verification failed for China macOS users. The previous skip-if-name- present logic could not repair this — it skipped the stale assets. sync-to-gitee.sh now verifies by content: for each artifact it compares the sha256 of the asset already on Gitee against the local file (downloaded from the GitHub release), and • skips it when byte-identical, • deletes + re-uploads it when present but stale, • uploads it when missing, bringing the Gitee release into byte-for-byte agreement with the GitHub release that checksums.txt describes. Re-running the Sync-release-to-gitee workflow now self-heals a mismatched mirror. bash -n + sha256 helper validated locally.
Go Bootstrap Scripts
These repo-local entrypoints are the supported shell entrypoints for building, testing, packaging, and policy checks.
make build: build thedwsCLI fromcmdmake test: rungo test ./...make lint: run formatting checks and requiredgolangci-lintmake fmt: format Go source files undercmd/,internal/, andtest/make package: build all release artifacts locally viagoreleaser --snapshotmake release: build and publish a release viagoreleaser
Script groups:
- Root installers:
./scripts/install.sh,./scripts/install.ps1,./scripts/install-skills.sh,./scripts/install-devapp.sh - Dev helpers:
./scripts/dev/build.sh,./scripts/dev/lint.sh,./scripts/dev/ci-local.sh,./scripts/dev/run-mock-e2e.sh,./scripts/dev/coverage.sh - Policy checks:
./scripts/policy/check-generated-drift.sh,./scripts/policy/check-command-surface.sh,./scripts/policy/check-open-source-assets.sh - Release helpers:
./scripts/release/post-goreleaser.sh,./scripts/release/verify-package-managers.sh,./scripts/release/publish-homebrew-formula.sh