@@ -38,14 +38,15 @@ jobs:
3838 run : |
3939 $tag = "v${{ steps.version.outputs.version }}"
4040 $baseUrl = "https://github.com/${{ github.repository }}/releases/download/$tag"
41+ $repoUrl = "https://github.com/${{ github.repository }}"
4142
4243 # Download and hash x64
43- $x64Url = "$baseUrl/cortex-windows-x64.zip"
44+ $x64Url = "$baseUrl/cortex-cli- windows-x64.zip"
4445 Invoke-WebRequest -Uri $x64Url -OutFile "cortex-x64.zip" -ErrorAction Stop
4546 $x64Hash = (Get-FileHash -Path "cortex-x64.zip" -Algorithm SHA256).Hash
4647
4748 # Download and hash arm64
48- $arm64Url = "$baseUrl/cortex-windows-arm64.zip"
49+ $arm64Url = "$baseUrl/cortex-cli- windows-arm64.zip"
4950 try {
5051 Invoke-WebRequest -Uri $arm64Url -OutFile "cortex-arm64.zip" -ErrorAction Stop
5152 $arm64Hash = (Get-FileHash -Path "cortex-arm64.zip" -Algorithm SHA256).Hash
5455 $arm64Url = ""
5556 }
5657
58+ echo "repo_url=$repoUrl" >> $env:GITHUB_OUTPUT
5759 echo "x64_url=$x64Url" >> $env:GITHUB_OUTPUT
5860 echo "x64_hash=$x64Hash" >> $env:GITHUB_OUTPUT
5961 echo "arm64_url=$arm64Url" >> $env:GITHUB_OUTPUT
@@ -125,11 +127,11 @@ jobs:
125127 PackageLocale: en-US
126128 Publisher: CortexLM
127129 PublisherUrl: https://github.com/CortexLM
128- PublisherSupportUrl: https://github.com/CortexLM/cortex-cli /issues
130+ PublisherSupportUrl: ${{ steps.release.outputs.repo_url }} /issues
129131 PackageName: Cortex CLI
130- PackageUrl: https://github.com/CortexLM/cortex-cli
132+ PackageUrl: ${{ steps.release.outputs.repo_url }}
131133 License: Apache-2.0
132- LicenseUrl: https://github.com/CortexLM/cortex-cli/ blob/master /LICENSE
134+ LicenseUrl: ${{ steps.release.outputs.repo_url }}/ blob/main /LICENSE
133135 ShortDescription: Cortex CLI - A modern AI coding agent
134136 Description: Cortex is a powerful command-line AI coding assistant that helps developers write, debug, and maintain code more efficiently.
135137 Tags:
0 commit comments