pattern="/archive/\K[\d.]+(?=[0-9a-z-]+\.tar\.gz)" version=${version%\.*}