Skip to content

Conversation

@floydkim
Copy link
Member

resolve: #106

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

@floydkim floydkim merged commit 42968ef into master Nov 18, 2025
2 checks passed
@floydkim floydkim deleted the cli-release-calc-hash branch November 18, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] Update contents failed the data integrity check

2 participants