Certain dependencies require specific handling in the update command:
flowkit: Because Go handles v2 specially, you must specify the version for both the base package and the v2 path.- Pattern:
onflow/flowkit@<version>,onflow/flowkit/v2@<version>
- Modules: When updating or releasing modules within a single repository, use the
--mod flag during the release process. - Unreleased repos: For repos without tags, use the 12-character commit hash format via the
--versions flag.
ts-node main.ts update --version v2.0.0-stable-cadence-alpha.5 --versions onflow/flowkit@v2.0.0-stable-cadence-alpha.5,onflow/flowkit/v2@v2.0.0-stable-cadence-alpha.5