def find_bump(target, tag):
tmp = tag.split("<STR_LIT:.>")<EOL>existing = [intify(basename(f)) for f in glob(join(target, "<STR_LIT>"))]<EOL>latest = max(existing)<EOL>if int(tmp[<NUM_LIT:0>]) > latest[<NUM_LIT:0>]:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif int(tmp[<NUM_LIT:1>]) > latest[<NUM_LIT:1>]:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>
Identify the kind of release by comparing to existing ones.