diff --git a/tagger b/tagger index 4bb2c90..3353ec7 100755 --- a/tagger +++ b/tagger @@ -10,6 +10,7 @@ ap.add_argument("--fullyear", action="store_true") ap.add_argument("--day-always", action="store_true") ap.add_argument("--prefix", default="r") ap.add_argument("--noop", action="store_true") +ap.add_argument("--force", action="store_true") args = ap.parse_args() subprocess.run(["git", "pull"]) @@ -35,7 +36,7 @@ for ln in result.stdout.split("\n"): need_tag = True print(need_tag, found_tags) -if need_tag: +if need_tag or args.force: today = datetime.date.today() version = [] if args.fullyear: