mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FEATURE: Installed Version link shows GitHub Compare to branch being followed
This commit is contained in:
parent
e79c216bc0
commit
1b89c2f0ef
3 changed files with 7 additions and 2 deletions
|
@ -8,6 +8,7 @@ module DiscourseUpdates
|
|||
installed_version: Discourse::VERSION::STRING,
|
||||
installed_sha: (Discourse.git_version == 'unknown' ? nil : Discourse.git_version),
|
||||
installed_describe: `git describe --dirty`,
|
||||
git_branch: Discourse.git_branch,
|
||||
updated_at: nil
|
||||
)
|
||||
else
|
||||
|
@ -18,6 +19,7 @@ module DiscourseUpdates
|
|||
installed_sha: (Discourse.git_version == 'unknown' ? nil : Discourse.git_version),
|
||||
installed_describe: `git describe --dirty`,
|
||||
missing_versions_count: missing_versions_count,
|
||||
git_branch: Discourse.git_branch,
|
||||
updated_at: updated_at
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue