Don't write to last_release file
This commit is contained in:
parent
04c1ef26bd
commit
96598c9c67
|
@ -30,6 +30,10 @@ Optional arguments must follow the two version arguments.
|
|||
* `--generateDiffStubs` to generate empty diff files for missing mappings
|
||||
* `--keepUnknownFields` to keep non-standard fields from json mappings in the compact files
|
||||
|
||||
## Updating version files
|
||||
On Minecraft updates, the `next_release.txt` and `last_release.txt` files need to be updated manually.
|
||||
`last_release.txt` needs the last release **ViaVersion requires mappings for**.
|
||||
|
||||
## Json format
|
||||
|
||||
The json files contain a number of Minecraft registries in form of json arrays, where the index corresponds to the id of
|
||||
|
|
|
@ -60,8 +60,6 @@ def main():
|
|||
|
||||
with open(last_snapshot_path, 'w') as f:
|
||||
f.write(snapshot)
|
||||
with open(Path('last_release.txt'), 'w') as f:
|
||||
f.write(release)
|
||||
|
||||
sys.exit(0)
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue