Remove separator before artifacts, add sources.json link, and link vendor versions to releases

Agent-Logs-Url: https://github.com/cmderdev/cmder/sessions/6ed72053-91c6-4e75-8317-ac54af872629

Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-11 20:52:47 +00:00
committed by GitHub
parent 165ca3b05b
commit f69c1db205

View File

@@ -79,7 +79,7 @@ jobs:
---
### 📁 Vendor Packages
### 🗃️ Vendor Packages ([sources.json](vendor/sources.json))
| Package | Version |
| --- | --- |
"@
@@ -90,7 +90,17 @@ jobs:
$summary += "`n| _No vendor packages found_ | |"
} else {
foreach ($vendor in $vendorSources) {
$summary += "`n| ``$($vendor.name)`` | $($vendor.version) |"
# Create release link based on vendor package
$versionLink = "$($vendor.version)"
if ($vendor.url) {
# Extract owner/repo from the URL and create release link
if ($vendor.url -match 'github\.com/([^/]+)/([^/]+)') {
$owner = $Matches[1]
$repo = $Matches[2] -replace '\.git$', ''
$versionLink = "[$($vendor.version)](https://github.com/$owner/$repo/releases/tag/$($vendor.version))"
}
}
$summary += "`n| ``$($vendor.name)`` | $versionLink |"
}
}
@@ -114,8 +124,6 @@ jobs:
---
### Build Status
✅ Cmder built successfully.
"@
@@ -164,8 +172,6 @@ jobs:
run: |
$summary = @"
---
### 🗃️ Artifacts
| Artifact | Size | Download | Hash (SHA256) |