From 8097834e5df9f9e8cd14e5599edba8f3aa872f9b Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:58:21 +0100 Subject: [PATCH] rm hash --- ci/gen_pio_manifest.py | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/ci/gen_pio_manifest.py b/ci/gen_pio_manifest.py index 2c5e9e857..8a70c0d85 100644 --- a/ci/gen_pio_manifest.py +++ b/ci/gen_pio_manifest.py @@ -7,7 +7,7 @@ MANIFEST_DATA = { "name": "tool-esptoolpy", - "description": "Serial bootloader utility for the Espressif ESP82xx, ESP32x series of SoCs", + "description": "A serial utility to communicate & flash code to Espressif chips", "keywords": ["tools", "uploader", "tasmota", "espressif", "esp8266", "esp32"], "license": "GPL-2.0-or-later", "repository": { @@ -51,7 +51,7 @@ def main(dst_dir, version_string, commit_hash): manifest_file_path = os.path.join(dst_dir, "package.json") build_date = datetime.date.today() with open(manifest_file_path, "w", encoding="utf8") as fp: - MANIFEST_DATA["version"] = f"{converted_version}+sha.{commit_hash}" + MANIFEST_DATA["version"] = f"{converted_version}" MANIFEST_DATA["date"] = f"{build_date}" json.dump(MANIFEST_DATA, fp, indent=2) @@ -75,15 +75,8 @@ def main(dst_dir, version_string, commit_hash): "--version-string", dest="version_string", required=True, - help="Version string in format v.*.*.*", - ) - parser.add_argument( - "-c", - "--commit-hash", - dest="commit_hash", - required=True, - help="Esptool commit hash", + help="Version string in format v*.*.*", ) args = parser.parse_args() - sys.exit(main(args.dst_dir, args.version_string, args.commit_hash)) + sys.exit(main(args.dst_dir, args.version_string))