Skip to content

Commit

Permalink
rm hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Mar 20, 2024
1 parent 0269549 commit 8097834
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions ci/gen_pio_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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)

Expand All @@ -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))

0 comments on commit 8097834

Please sign in to comment.