formula_installer: fix version scheme not being set in the tab

This commit is contained in:
Bo Anderson 2021-04-12 15:47:46 +01:00
parent 528ac5d5aa
commit 627381e949
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

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