Skip to content

Commit 6afb0f8

Browse files
author
Spacehuhn
committed
Fixed package scripts
1 parent 358793a commit 6afb0f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"websiteURL": "https://spacehuhn.tech",
2323
"email": "support@spacehuhn.tech",
2424
"help": {
25-
"online": f"https://github.com/spacehuhntech/arduino{project}",
25+
"online": f"https://github.com/spacehuhntech",
2626
},
2727
"platforms": [],
2828
"tools": [],
@@ -34,7 +34,7 @@
3434

3535
if path.exists(platform_file):
3636
with open(platform_file) as f:
37-
project_json["platforms"].append(json.load(f))
37+
project_json["platforms"] = json.load(f)
3838

3939
# Tools
4040
tools_file = f"{project}/{package}/tools.json"

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
template_json["version"] = version
5353
template_json["url"] = link
5454
template_json["archiveFileName"] = zip_file
55-
template_json["checksum"] = zip_hash
55+
template_json["checksum"] = f"SHA-256:{zip_hash}"
5656
template_json["size"] = zip_size
5757

5858
platform_json.append(template_json)

0 commit comments

Comments
 (0)