Keep track of pending gogs updates


How is it supposed to be done? Im curently usign this slightly retarded script:

LOC=$(curl -s http://localhost:3004 | grep Version | sed ‘s/.Version: //’ | sed 's/ Page.//’)
REM=$(curl -s
diff <(echo $LOC) <(echo $REM)


Are you trying to get automatic updates?

Gogs itself has a --version flag, and if you install with docker there is a tag. Github has a releases API, and so does dockerhub. There is also a releases feed on github.

I would steer clear from using anything but a numbered release in production (“latest” does not constitute a stable release IMO). I would also steer clear of unattended updates.