[pacman-dev] [PATCHv2] [makepkg] Print out new version on change
1007380 at gmail.com
Wed Dec 5 23:53:40 EST 2012
On Thu, Dec 06, 2012 at 02:36:17PM +1000, Allan McRae wrote:
> I'll go for a v3 here!
> msg "$(gettext "Updated version: %s to %s")" $pkgver $newpkgver
I was thinking of doing this, but left the : out because if there is no
original $pkgver, then it turns into
==> Updated version: to 1234
==> Updated version to 1234 or ==> Updated version 1233 to 1234
> Also we want to mention pkgrel here?
> msg "$(gettext "Updated version: %s-%s to %s-1")" $pkgver $pkgrel $newpkgver
+1 for this. I hadn't realized that when it updated the version it also
updated the pkgrel till today. Heh.
> Either way, I can make the change when I pull it into my working tree.
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078 CFF2 45E8 1E72 6D5A 8653 CDF5 E7A5 E99A 7F0F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the pacman-dev