Skip to content

Commit

Permalink
Dont get version from file
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Nov 4, 2024
1 parent a08ae37 commit 215976f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,13 @@ jobs:
for file in files:
print(os.path.join(root, file))
# Read the first manifest to get the version
with open('downloaded-artifacts/openspool-esp32s2/manifest.json', 'r') as f:
first_manifest = json.load(f)
if 'version' not in first_manifest:
print("Error: Version not found in the manifest.")
sys.exit(1)
version = first_manifest['version']
#TODO: Don't hard code version, instead get from common.yaml or git tag
version = "0.1.2"
combined_manifest = {
"name": "OpenSpool",
"version": version,
"builds": []
"builds": [],
"new_install_prompt_erase": True
}
for target in ['esp32s2', 'esp32']:
Expand Down

0 comments on commit 215976f

Please sign in to comment.