From 7fc5426cc86982a36581ecccb6888361c3a79375 Mon Sep 17 00:00:00 2001 From: Adwaith-Rajesh Date: Sat, 23 Aug 2025 21:44:01 +0530 Subject: [PATCH] added dev type make dev default, indacates a change for a project that is currently in dev version bump --- git_changes.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/git_changes.py b/git_changes.py index cbcb7b4..e57c3d0 100644 --- a/git_changes.py +++ b/git_changes.py @@ -26,6 +26,7 @@ COMMIT_TYPES = [ 'ci', 'chore', 'revert', + 'dev', ] @@ -85,7 +86,7 @@ def _run_git_add(args: list[str]) -> int: def git_add() -> int: add_parser = argparse.ArgumentParser() add_parser.add_argument('-m', '--message', required=True, help='Message to add') - add_parser.add_argument('--type', choices=COMMIT_TYPES, default='feat', help='The type of the change') + add_parser.add_argument('--type', choices=COMMIT_TYPES, default='dev', help='The type of the change') args, rest = add_parser.parse_known_args() if args.message and (_run_git_add(rest) == 0): diff --git a/pyproject.toml b/pyproject.toml index fa49206..2cbbdb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "git-changes" -version = "0.0.2" +version = "0.0.3" authors = [ {name="Adwaith-Rajesh", email="me@adwaith.dev"} ]