Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the problem where extensions were not changed but still updated (#…
…5887) #### What type of PR is this? /kind improvement /area core /milestone 2.16.x #### What this PR does / why we need it: This PR fixes the problem where extensions were not changed but still updated. What we want is to not update the extension if it has not changed. Before that, we update the version of extension manually while getting the latest extension, this will lead to change the type of metadata.version from int to long.See the code snippet below: https://github.com/halo-dev/halo/blob/a629961e8de4c086490e821248b6fa9964caecdd/application/src/main/java/run/halo/app/extension/JSONExtensionConverter.java#L83 Now, we force update the versions using type Long. #### Does this PR introduce a user-facing change? ```release-note None ```
- Loading branch information