git-copilot-commit 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/.justfile +10 -3
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/PKG-INFO +1 -1
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/cli.py +1 -1
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/.github/workflows/ci.yml +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/.gitignore +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/.python-version +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/LICENSE +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/README.md +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/pyproject.toml +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/__init__.py +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/git.py +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/prompts/commit-message-generator-prompt.md +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/py.typed +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/settings.py +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/src/git_copilot_commit/version.py +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/uv.lock +0 -0
- {git_copilot_commit-0.3.1 → git_copilot_commit-0.3.2}/vhs/demo.vhs +0 -0
|
@@ -7,7 +7,6 @@ default:
|
|
|
7
7
|
commit *args:
|
|
8
8
|
uv run git-copilot-commit commit {{args}}
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
# Get the next version based on bump type
|
|
12
11
|
next-version type="patch":
|
|
13
12
|
#!/usr/bin/env bash
|
|
@@ -45,11 +44,19 @@ bump type="patch":
|
|
|
45
44
|
echo " Run: just release version=$new_version"
|
|
46
45
|
|
|
47
46
|
# Push commit, tag, and create GitHub release
|
|
48
|
-
release version:
|
|
47
|
+
release version='':
|
|
49
48
|
#!/usr/bin/env bash
|
|
50
49
|
set -euo pipefail
|
|
51
50
|
|
|
52
|
-
version
|
|
51
|
+
# If version wasn't passed positionally, check for named var
|
|
52
|
+
if [ -z "$version" ]; then
|
|
53
|
+
version="{{version}}" # falls back to global variable if set
|
|
54
|
+
fi
|
|
55
|
+
|
|
56
|
+
if [ -z "$version" ]; then
|
|
57
|
+
echo "Error: version not specified" >&2
|
|
58
|
+
exit 1
|
|
59
|
+
fi
|
|
53
60
|
|
|
54
61
|
echo "Pushing commit and tag for $version..."
|
|
55
62
|
git push
|
|
@@ -28,7 +28,7 @@ def version_callback(value: bool):
|
|
|
28
28
|
@app.callback(invoke_without_command=True)
|
|
29
29
|
def main(
|
|
30
30
|
ctx: typer.Context,
|
|
31
|
-
|
|
31
|
+
_: bool = typer.Option(
|
|
32
32
|
False, "--version", callback=version_callback, help="Show version and exit"
|
|
33
33
|
),
|
|
34
34
|
):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|