release.pl: follow changelog redirection

This commit is contained in:
Juergen E. Fischer 2025-06-20 14:03:30 +02:00
parent 56de3d4259
commit b0d46a6964

View File

@ -27,7 +27,7 @@ while(<$in>) {
last if /^Change history for the QGIS Project/;
}
my $content = `curl -A Mozilla -s https://changelog.qgis.org/en/qgis/version/$version/gnu/`;
my $content = `curl -LA Mozilla -s https://changelog.qgis.org/en/qgis/version/$version/gnu/`;
die "Couldn't get it!" unless defined $content;
print $news "\n# What's new in Version $version '$releasename'?\n\n";