Skip to content

Commit bef941f

Browse files
author
Spacehuhn
committed
Replace version in platform name too
1 parent 6afb0f8 commit bef941f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
zip_file = f"{project}-{package}-arduino-core-{version}.zip"
2424

2525
# Update version number in platform.txt
26-
os.system(f"sed -i -e 's/version=X.X.X/version={version}/g' {project}/{package}/platform.txt")
26+
os.system(f"sed -i -e 's/X.X.X/{version}/g' {project}/{package}/platform.txt")
2727

2828
# ZIP it
2929
os.system(f"cd {project} && zip -r '../{zip_file}' '{package}/' -q")

0 commit comments

Comments
 (0)