Update release script to reflect new release article URL convention (#26041)

This commit is contained in:
Luke Heath
2025-02-06 15:48:21 -06:00
committed by GitHub
parent 943919b1a2
commit 6a0432fd8e
+1 -1
View File
@@ -327,7 +327,7 @@ print_announce_info() {
general_announce_info() {
if [[ "$minor" == "true" ]]; then
article_url="https://fleetdm.com/releases/fleet-$target_milestone"
article_url="https://fleetdm.com/releases/fleet-${target_milestone//./-}"
article_published=$(curl -is "$article_url" | head -n 1 | awk '{print $2}')
if [[ "$article_published" != "200" ]]; then
echo "Could't find article at '$article_url'"