Skip to content

Commit 6eefb99

Browse files
committed
🔄 synced local '.github/workflows/update-module-properties.yml' with remote '.releases/update-module-properties.yml'
1 parent 9215db9 commit 6eefb99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎.github/workflows/update-module-properties.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ jobs:
226226
print(f"ERROR: Could not extract version for nodejs from release name or filename: {filename}")
227227
print(f"Release name: {release_data.get('name', 'N/A')}")
228228
exit(1)
229-
elif module_name == 'shell':
230-
# For shell (PowerShell), files are named like PowerShell-7.5.4-win-x64.zip
229+
elif module_name == 'powershell':
230+
# For powershell, files are named like PowerShell-7.5.4-win-x64.zip
231231
if filename.lower().startswith('powershell') and filename.endswith('.zip'):
232232
download_url = asset['browser_download_url']
233233
@@ -250,7 +250,7 @@ jobs:
250250
})
251251
print(f"Found: {filename} -> Version: {ver} (from release name)")
252252
else:
253-
print(f"ERROR: Could not extract version for shell from release name or filename: {filename}")
253+
print(f"ERROR: Could not extract version for powershell from release name or filename: {filename}")
254254
print(f"Release name: {release_data.get('name', 'N/A')}")
255255
exit(1)
256256
elif module_name == 'ghostscript':
@@ -380,8 +380,8 @@ jobs:
380380
print(f"No valid ghostscript assets found in release")
381381
print(f"Expected: .7z files matching pattern gs<version>w32/w64.7z")
382382
print(f"Available assets: {[a['name'] for a in release_data.get('assets', [])]}")
383-
elif module_name == 'shell':
384-
print(f"No valid shell (PowerShell) assets found in release")
383+
elif module_name == 'powershell':
384+
print(f"No valid powershell assets found in release")
385385
print(f"Expected: .zip files starting with 'PowerShell'")
386386
print(f"Available assets: {[a['name'] for a in release_data.get('assets', [])]}")
387387
else:

0 commit comments

Comments
 (0)