depend on build instead of publish