mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
CI again
This commit is contained in:
parent
f2eb870beb
commit
3de4aee5d5
2 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,16 @@
|
|||
import tomllib
|
||||
import os
|
||||
from zipfile import ZipFile, ZIP_DEFLATED as COMPRESS_TYPE
|
||||
import shutil
|
||||
import re
|
||||
|
||||
COMPRESS_LEVEL = 9
|
||||
|
||||
cargo_manifest = tomllib.load(open("noita-proxy/Cargo.toml", "rb"))
|
||||
version = cargo_manifest["package"]["version"]
|
||||
cargo_manifest = open("noita-proxy/Cargo.toml", "r").read()
|
||||
version = re.findall('version = "(.*?)"', cargo_manifest)[0]
|
||||
|
||||
print("Version:", version)
|
||||
|
||||
assert version is not None
|
||||
|
||||
os.makedirs("target", exist_ok=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue