Added dynamic calculation of pipeline version