Update build script to check for changelog version format x.y.z-a