mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
17 lines
281 B
Ruby
17 lines
281 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
extend T::Sig
|
|
|
|
class << self
|
|
alias generic_git_tags git_tags
|
|
|
|
def git_tags
|
|
tags = generic_git_tags
|
|
tags = Utils.popen_read("git tag --list | sort -rV") if tags.blank?
|
|
tags
|
|
end
|
|
end
|
|
end
|