mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 07:59:02 +08:00
Merge pull request #20154 from abitrolly/brew-audit-v-version
create: strip 'v' prefix from version
This commit is contained in:
commit
a6b1d42488
@ -165,7 +165,7 @@ module Homebrew
|
||||
<% unless @head %>
|
||||
url "#{@url}"
|
||||
<% unless @version.detected_from_url? %>
|
||||
version "#{@version}"
|
||||
version "#{@version.to_s.delete_prefix("v")}"
|
||||
<% end %>
|
||||
sha256 "#{@sha256}"
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user