if args.dry_run:
	out = sys.stdout
else:
	out = open(LOGFILE, "w+b")

if policy == POLICY_TAG and not args.dry_run:
	print("[WARNING]\n>> no push, when possible call 'git push --tags origin master' <<", file=out)

def tag_master(out):
	global VERSION, TAG
	if Branch() != "master":
		call(out, "git", "checkout", "master")
	call(out, "git", "pull", "--rebase")
	call(out, "python", "build_tag.py")