add upload command to buildpkg