Yes, that is far better to use ${upstream.version} instead of master.
Thank you.