hack to get package version and use it in copy task