[MacPorts] #64956: KeePassXC: Livecheck believes 2.7.0-beta1 > 2.7.0

MacPorts noreply at macports.org
Thu Apr 7 12:15:02 UTC 2022


#64956: KeePassXC: Livecheck believes 2.7.0-beta1 > 2.7.0
------------------------+--------------------
  Reporter:  tenzap     |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  KeePassXC  |
------------------------+--------------------

Comment (by mascguy):

 Per the previous comment from @jmroot, the regex needs to be specified as:

 {{{
 # Ignore betas, RCs, etc.
 github.livecheck.regex  {([0-9.]+)}
 }}}

 In short, the regex needs to stop at the first dash, if any. But it's
 often simpler to simply limit the valid characters to numerics and the
 period, which accomplishes it.

 Of note, the example above can't necessarily be used verbatim for every
 port; it depends on how the authors name releases. But the example above
 does work for `KeePassXC`.

-- 
Ticket URL: <https://trac.macports.org/ticket/64956#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list