lib/getv/package.rb in getv-1.2.1 vs lib/getv/package.rb in getv-1.3.0
- old
+ new
@@ -22,10 +22,10 @@
semantic_only: false
}.merge(opts)
end
opts = {
type: 'github_release',
- select_search: '^\s*v?((0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\s*$', # rubocop:disable Layout/LineLength
+ select_search: '^\s*v?(.*)\s*$',
select_replace: '\1',
reject: nil,
semantic_only: true,
semantic_select: ['*'],
versions: nil,