Skip to content

Commit cc6e8b9

Browse files
authored
Update gen_pio_frmwk_manifest.py
1 parent d4f0de1 commit cc6e8b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/gen_pio_frmwk_manifest.py

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
import re
55
import sys
6+
import datetime
67

78
MANIFEST_DATA = {
89
"name": "framework-arduinoespressif32",
@@ -48,8 +49,10 @@ def main(dst_dir, version_string, commit_hash):
4849
return -1
4950

5051
manifest_file_path = os.path.join(dst_dir, "package.json")
52+
build_date = datetime.date.today()
5153
with open(manifest_file_path, "w", encoding="utf8") as fp:
5254
MANIFEST_DATA["version"] = f"{converted_version}+sha.{commit_hash}"
55+
MANIFEST_DATA["date"] = f"{build_date}"
5356
json.dump(MANIFEST_DATA, fp, indent=2)
5457

5558
print(

0 commit comments

Comments
 (0)