fixed a potential bug that while publishType eq to 1 (platform), it may
still getting related to the value of params.productVersion