Version check through API

I have a script that performs a few admin related checks and posts results to a Slack channel. I want to add a check to determine if Gitlab requires an update as part of this script. Is there a way to do this through the API?

Cheers,

Victor

You’re able to get the version you are currently using through Gitlab API.
https://docs.gitlab.com/ee/api/version.html

The most recent version can be found from the gitlab repo at github.
https://raw.githubusercontent.com/gitlabhq/gitlabhq/9-5-stable/VERSION

1 Like