4 lines
127 B
Bash
Raw Normal View History

2025-10-07 11:05:08 +01:00
URL="https://github.com/project-zot/zot/releases/latest"
latest_version=$(curl -s $URL | grep -oP '"tag_name": "\K(.*)(?=")')