Skip to content

Commit

Permalink
fix: tune comment for v2-archives
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Dec 16, 2024
1 parent b531453 commit b566f3a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions internal/setup/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ type yamlRelease struct {
Format string `yaml:"format"`
Archives map[string]yamlArchive `yaml:"archives"`
PubKeys map[string]yamlPubKey `yaml:"public-keys"`
// "v2-archives" is used for backwards compatibility with Chisel <= 1.0.0
// since it will be ignored. In new versions, it will be parsed with the new
// fields that break said compatibility, e.g. "pro" archives.
//
// Note: "archives" and "v2-archives" are merged together while parsing.
// "v2-archives" is used for backwards compatibility with Chisel <= 1.0.0,
// where it will be ignored. In new versions, it will be parsed with the new
// fields that break said compatibility (e.g. "pro" archives) and merged
// together with "archives".
V2Archives map[string]yamlArchive `yaml:"v2-archives"`
}

Expand Down

0 comments on commit b566f3a

Please sign in to comment.