We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41990a commit 24746bcCopy full SHA for 24746bc
.github/workflows/release.yaml
@@ -42,4 +42,4 @@ jobs:
42
run: |
43
$latestRelease = Invoke-RestMethod -Uri https://api.github.com/repos/gptscript-ai/gptscript/releases/latest
44
$url = $latestRelease.assets | Where-Object { $_.name -eq ("gptscript-" + $latestRelease.tag_name + "-windows-amd64.zip") } | Select-Object -ExpandProperty browser_download_url
45
- ./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "$latestRelease.tag_name" gptscript-ai.gptscript
+ ./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
0 commit comments