ghost: scripts: Fix release version not displaying right

* Export variable globally by doing . ./build.sh instead

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>