Don't write to last_release file

This commit is contained in:
Nassim Jahnke 2023-08-11 14:56:41 +10:00
parent 04c1ef26bd
commit 96598c9c67
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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.