transformations: '--with-latest' correctly handles already-latest case.
authorLudovic Courtès <ludo@gnu.org>
Tue, 8 Jun 2021 20:44:53 +0000 (22:44 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 8 Jun 2021 21:28:04 +0000 (23:28 +0200)
commit7ccf416dd00b9842d7f9801ae8d2438e92a4cdfe
tree5f780a5a771b871e1e20a62b2b4b276625187c64
parentac51eb1125aab078c1a59c002695dc6dd56bd62c
transformations: '--with-latest' correctly handles already-latest case.

Previously, '--with-latest' would wrongfully print:

  warning: could not determine latest upstream release of 'xyz'

when 'xyz' is already the latest version.  This fixes that.

* guix/transformations.scm (transform-package-latest): Use
'package-latest-release' instead of 'package-latest-release*'.
guix/transformations.scm