如何查看服务器上安装了哪个版本的GitLab ?

我是关于GitLab更新日志中指定的版本: https://gitlab.com/gitlab-org/gitlab-foss/blob/master/CHANGELOG.md

例如:“6.5.0”,“6.4.3”等。

Сan这只能通过终端吗? 有没有办法远程(用浏览器而不是终端)做到这一点?


当前回答

你可以在https://your.domain.name/help上查看GitLab的版本

或者通过终端:gitlab-rake gitlab:env:info

其他回答

最简单的方法是粘贴以下命令:

cat /opt/gitlab/version-manifest.txt | head -n 1

这样就安装好了版本。:)

cat /opt/gitlab/version-manifest.txt |grep gitlab-ce|awk '{print $2}'

你可以在https://your.domain.name/help上查看GitLab的版本

或者通过终端:gitlab-rake gitlab:env:info

在centos上检查gitlab的版本

rpm -qa | grep gitlab-ce

我已经将我的服务器更新到GitLab 6.6.4,最终找到了在没有SSH访问服务器的情况下远程获取GitLab版本的方法。

您应该登录进入以下页面: https://your.domain.name/help

它显示了类似于:

GitLab 6.6.4 42e34ae GitLab是用于代码协作的开源软件。 ... 等。