Skip to content

Commit d1f66ec

Browse files
authored
add build date
1 parent 54cb878 commit d1f66ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/gen_pio_frmwk_manifest.py

Lines changed: 3 additions & 0 deletions
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-ITEAD",
@@ -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy