Compare commits

...

2 Commits

Author SHA1 Message Date
Gregory Gauthier
e0e1100396 docs(changelog): update for v0.3.7 release
All checks were successful
CI / Test (push) Successful in 33s
CI / Lint (push) Successful in 25s
CI / Build (push) Successful in 21s
Add changelog entry summarizing additions, changes, and fixes for version v0.3.7, including improved git diff handling, test updates, and README tweaks.
2026-03-31 11:10:29 +01:00
Gregory Gauthier
5bf073377d docs(readme): bump version to 0.3.7
All checks were successful
Release / Create Release (push) Successful in 39s
Update installation and download scripts in README.md to reference v0.3.7.
2026-03-31 11:09:28 +01:00
2 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,20 @@
## [v0.3.7] - 2026-03-31
Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens.
### Added
- Introduce `gitDiff` variable as a mockable wrapper for `git.Diff`.
- Introduce git.Diff function that uses CombinedOutput and treats exit code 1 as success.
### Changed
- Update tests to use `withMockGitDiff` for injecting diff mocks.
- Tweak flag description for clarity.
- Update prdescribe command to use git.Diff and trim whitespace when checking for empty diffs.
- Enhance prdescribe output to include base branch in the status message.
- Update installation and download scripts in README.md to reference v0.3.7.
### Fixed
- Improve diff handling to tolerate exit code 1.
## [v0.3.6] - 2026-03-30 ## [v0.3.6] - 2026-03-30
### Fixed ### Fixed

View File

@ -19,13 +19,13 @@ Grokkit is a fast Go CLI integrating Grok AI with git workflows and general chat
**Bash (Linux/macOS):** **Bash (Linux/macOS):**
```bash ```bash
export VERSION=0.3.6 export VERSION=0.3.7
curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh | bash -s -- --verify curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh | bash -s -- --verify
``` ```
**PowerShell (Windows):** **PowerShell (Windows):**
```pwsh ```pwsh
$env:VERSION="0.3.6" $env:VERSION="0.3.7"
irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 | iex irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 | iex
``` ```
@ -40,7 +40,7 @@ Both installers feature:
**Bash (Linux/macOS):** **Bash (Linux/macOS):**
```bash ```bash
export VERSION=0.3.6 export VERSION=0.3.7
curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh -o grokkit-install.sh curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh -o grokkit-install.sh
bash grokkit-install.sh --verify bash grokkit-install.sh --verify
``` ```
@ -48,7 +48,7 @@ bash grokkit-install.sh --verify
**PowerShell (Windows):** **PowerShell (Windows):**
```pwsh ```pwsh
$env:VERSION="0.3.6" $env:VERSION="0.3.7"
irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 -OutFile grokkit-install.ps1 irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 -OutFile grokkit-install.ps1
.\grokkit-install.ps1 -Verify .\grokkit-install.ps1 -Verify
``` ```