microsoft / code-push-server

Standalone CodePush server from App Center
MIT License
605 stars 157 forks source link

Fix: Add Ignored filePath to hash-utils #42

Open minizzang opened 1 week ago

minizzang commented 1 week ago

Fix some code on the server to support code signing.

Currently, the server code includes .codepushrelease, which is a result of code signing, when calculating the package hash. This causes a mismatch between the hash values calculated by the CLI and the server.

To resolve this, I added .codepushrelease to the server's isIgnored function in hash-utils.ts.