add -dirty and -upstream-master