GetAssemblyIdentity task seems to return me only AssemblyVersion, not AssemblyInformationalVersion.
I can parse AssemblyInfo.cs, as suggested by here Reading AssemblyInformationalVersion value from AssemblyInfo file with RegEx but I don't think this is optimal solution.