Skip to content
1 change: 1 addition & 0 deletions .github/workflows/release-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ jobs:
path: dist
if-no-files-found: error
compression-level: 0
retention-days: 1
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
path: release-assets
if-no-files-found: error
compression-level: 0
retention-days: 1

finalize_release:
name: Finalize release
Expand Down
4 changes: 3 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ component_field() {
-v field="\"$4\": " '
index($0, kind) && index($0, os) && index($0, arch) {
if (match($0, field "\"[^\"]*\"")) {
print substr($0, RSTART + length(field), RLENGTH - length(field) - 1)
value = substr($0, RSTART + length(field), RLENGTH - length(field))
gsub(/^"|"$/, "", value)
print value
exit
}
}
Expand Down