Showing latest version of WordPress. Updated every 15 mins hour at XX:15.
git ls-remote --tags https://github.com/WordPress/WordPress.git | tail -n1
..but only use the last one
awk -F'/' '{print $3}'
turns "537057d65e2713934002276c10da44fb1ccca83e refs/tags/4.9.4" => "4.9.4"
# Latest WordPress version from Github mirror
git ls-remote --tags https://github.com/WordPress/WordPress.git | tail -n1 | awk -F'/' '{print $3}'
source/inspiration: https://stackoverflow.com/a/20742976
-
Move cron to Github Actions (WIP)
-
Move hosting to Github