Skip to content

v12.2.0

Latest

Choose a tag to compare

@floydkim floydkim released this 18 Nov 10:47

Add --hash-calc option to the release command

When generating a CodePush bundle manually instead of using npx code-push bundle, the bundle hash needs to be computed so it can be stored in the ReleaseHistory metadata.
The new --hash-calc option performs this calculation.

For example, The command below uploads the CodePush bundle located in build/BundleOutput and includes the corresponding packageHash value in the ReleaseHistory metadata :

npx code-push release -b 1.0.0 -v 1.1.0 --skip-bundle true --hash-calc true \
  --output-path build \
  --output-bundle-dir bundleOutput

What's Changed

  • feat(CLI): add --hash-calc option to the release command by @floydkim in #107

Full Changelog: v12.1.5...v12.2.0