Commit 1da78fc
committed
Add version metadata handling in merge command
Introduced logic to set the `version` field in resources during the merge process. The version is derived from the first resource's metadata or defaults to "1.0" if not present. This enhancement ensures compatibility with xcstrings format and improves overall resource metadata management alongside the existing `source_language` handling.1 parent f6f835f commit 1da78fc
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
90 | 102 | | |
91 | 103 | | |
92 | 104 | | |
| |||
0 commit comments