Skip to content

Commit 0fd83cf

Browse files
authored
add build date
1 parent b9c82d0 commit 0fd83cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/gen_pio_frmwk_manifest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ def main(dst_dir, version_string, commit_hash):
4848
return -1
4949

5050
manifest_file_path = os.path.join(dst_dir, "package.json")
51+
build_date = $(date -I)
5152
with open(manifest_file_path, "w", encoding="utf8") as fp:
5253
MANIFEST_DATA["version"] = f"{converted_version}+sha.{commit_hash}"
54+
MANIFEST_DATA["date"] = f"{build_date}"
5355
json.dump(MANIFEST_DATA, fp, indent=2)
5456

5557
print(

0 commit comments

Comments
 (0)