dmd 2.065 beta 1 #2

Jordi Sayol g.sayol at yahoo.es
Tue Jan 21 15:02:25 PST 2014


El 21/01/14 23:29, Brad Anderson ha escrit:
>     #.###.b#  ==> 2.065.b1  // beta
>     #.###.rc# ==> 2.065.rc1 // release candidate
>     #.###.0   ==> 2.065.0   // initial release
>     #.###.#   ==> 2.065.1   // hotfix

On Debian, "2.065.rc1" is bigger than "2.065.0", so if "dmd_2.065.rc1-0_amd64.deb" is installed and you try to upgrade to "dmd_2.065.0-0_amd64.deb", system will answer something like "You have installed a newer version".

No problem if these deb packages are for internal use and test, but not for a public download.

$ dpkg --compare-versions "2.065.0" gt "2.065.rc1" && echo "Bigger" || echo "Not bigger"

-- 
Jordi Sayol


More information about the Digitalmars-d-announce mailing list