Skip to content

Conversation

@arturcic
Copy link
Member

@arturcic arturcic commented Nov 30, 2023

The cache format for version variables has been changed from JSON to YAML in GitVersionCache and VersionVariableSerializer classes.

This is intended to fix the arm64 support that was broken. For some reason the serialization as json for the cache isn't working. We need more investigation, so reverting back to yaml, but taking in consideration the recent changes. The YamlDotnet will be a dependency on GitVersion.Output and not GitVersion.Core

The cache format for version variables has been changed from JSON to YAML in `GitVersionCache` and `VersionVariableSerializer` classes, to provide more readable and easily editable files. Code changes also include updates in the test files reflecting the change in the format. In addition, added arm64 architecture support back.
@arturcic arturcic merged commit 6b4b51c into GitTools:main Nov 30, 2023
@arturcic arturcic deleted the feature/yaml-cache branch November 30, 2023 19:50
@mergify
Copy link
Contributor

mergify bot commented Nov 30, 2023

Thank you @arturcic for your contribution!

@arturcic arturcic added this to the 6.x milestone Nov 30, 2023
arturcic added a commit to arturcic/GitVersion that referenced this pull request Nov 30, 2023
Switch cache format from JSON back to YAML
arturcic added a commit that referenced this pull request Nov 30, 2023
Switch cache format from JSON back to YAML
@arturcic arturcic removed this from the 6.x milestone Dec 11, 2023
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.

1 participant