mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 03:00:11 +00:00
Better regex for detecting stable version tags (fixes #1772)
This commit is contained in:
parent
550bf0e44f
commit
3256ef2f6b
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ Return a cons cell whose `car' is the root and whose `cdr' is the repository."
|
|||
(let* ((bound (goto-char (point-max)))
|
||||
(tag-version (and (pb/run-process dir "git" "tag")
|
||||
(or (pb/find-tag-version-newest
|
||||
"^v?\\([^ \t\n]+\\)$" bound)
|
||||
"^\\(?:v[.-]?\\)?\\([0-9]+[^ \t\n]*\\)$" bound)
|
||||
(error
|
||||
"No valid stable versions found for %s"
|
||||
name)))))
|
||||
|
|
Loading…
Reference in a new issue