Merge pull request #11114 from Bo98/tab-version-scheme

formula_installer: fix version scheme not being set in the tab
This commit is contained in:
Mike McQuaid 2021-04-12 16:18:44 +01:00 committed by GitHub
commit f16c606ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1160,6 +1160,7 @@ class FormulaInstaller
tab.aliases = formula.aliases
tab.arch = Hardware::CPU.arch
tab.source["versions"]["stable"] = formula.stable.version.to_s
tab.source["versions"]["version_scheme"] = formula.version_scheme
tab.source["path"] = formula.specified_path.to_s
tab.source["tap_git_head"] = formula.tap&.git_head
tab.tap = formula.tap