Skip to content

Commit 425379c

Browse files
committed
Fix update.sh to properly filter RC versions
1 parent 1a76340 commit 425379c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ for version in "${versions[@]}"; do
5858
{
5959
git ls-remote --tags https://github.com/python/cpython.git "refs/tags/v${rcVersion}.*" \
6060
| sed -r 's!^.*refs/tags/v([0-9a-z.]+).*$!\1!' \
61+
| grep $rcGrepV -E -- '[a-zA-Z]+' \
6162
|| :
6263
6364
# this page has a very aggressive varnish cache in front of it, which is why we also scrape tags from GitHub
6465
curl -fsSL 'https://www.python.org/ftp/python/' \
6566
| grep '<a href="'"$rcVersion." \
6667
| sed -r 's!.*<a href="([^"/]+)/?".*!\1!' \
68+
| grep $rcGrepV -E -- '[a-zA-Z]+' \
6769
|| :
6870
} | sort -ruV
6971
) )

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy