Skip to content

Commit 1b2b099

Browse files
authored
use dynamic date
1 parent ed8d08b commit 1b2b099

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def fn(_dict, depth):
110110
# fs.copy("", str(Path.joinpath(Path.cwd(), "assets", "boot.ini")), str(Path(Path.joinpath(fs.workdir, "switch_out","boot.ini"))))
111111
# fs.copy("", str(Path.joinpath(Path.cwd(), "assets", "exosphere.ini")), str(Path(Path.joinpath(fs.workdir, "switch_out","exosphere.ini"))))
112112
version = settings["version"] if settings.get("version") is not None else datetime.now().strftime('%Y.%m.%d')
113-
print("Zipping package: " + "atmosphere-"+packageName+"_v"+settings["version"])
114-
shutil.make_archive("atmosphere-"+packageName+"_v"+settings["version"],'zip',outPath)
113+
print("Zipping package: " + "atmosphere-" + packageName + "_v" + version)
114+
shutil.make_archive("atmosphere-" + packageName + "_v" + version, 'zip', outPath)
115115
fs.delete("",outPath)
116116

117117
else:

src/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"version": "2024.01.19",
32
"packages":{
43
"clean":{
54
"active": true,

0 commit comments

Comments
 (0)