Skip to content

Commit 55b8791

Browse files
committed
Fix script
1 parent 2125cf8 commit 55b8791

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
console.log('created release', { release });
5353
5454
for (let file of await fs.readdir('./')) {
55-
console.log('uploading', file);
5655
5756
if (file.endsWith('.mstx') || file.endsWith('.json')) {
57+
console.log('uploading', file);
5858
await github.repos.uploadReleaseAsset({
5959
owner, repo,
6060
release_id: release.data.id,

gen-manifest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def consolidate_manifest():
2020
# Extract and parse config.json
2121
with zip_ref.open('config.json') as config_file:
2222
config_data = json.load(config_file)
23-
del config_data["customCSS"]
23+
if 'customCSS' in config_data['theme']:
24+
del config_data["theme"]["customCSS"]
2425

2526
# Extract the id and use the entire config.json as value
2627
if 'id' in config_data:

manifest.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"textSecondary": "#565656",
1212
"textInverse": "#000000",
1313
"accent": "#65CB88",
14-
"divider": "rgba(79, 79, 79, 0.67)",
15-
"customCSS": "/tmp/theme-unpacked-2ce9ae53-1591-4d87-925e-b45f0adf8a64/custom.css"
14+
"divider": "rgba(79, 79, 79, 0.67)"
1615
}
1716
}
1817
}

0 commit comments

Comments
 (0)