mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: use $coder_version
instead of hardcoded version in release script (#9539)
This commit is contained in:
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -357,7 +357,7 @@ jobs:
|
|||||||
cd "$temp_dir"
|
cd "$temp_dir"
|
||||||
|
|
||||||
# Download checksums
|
# Download checksums
|
||||||
checksums_url="$(gh release view --repo coder/coder v2.1.4 --json assets \
|
checksums_url="$(gh release view --repo coder/coder "v$coder_version" --json assets \
|
||||||
| jq -r ".assets | map(.url) | .[]" \
|
| jq -r ".assets | map(.url) | .[]" \
|
||||||
| grep -e ".checksums.txt\$")"
|
| grep -e ".checksums.txt\$")"
|
||||||
wget "$checksums_url" -O checksums.txt
|
wget "$checksums_url" -O checksums.txt
|
||||||
|
Reference in New Issue
Block a user