Compare commits

..

3 Commits

Author SHA1 Message Date
Gregory Gauthier
a2a1dbf33a chore(release): bump version to 0.3.8
Some checks failed
CI / Test (push) Failing after 25s
CI / Lint (push) Has been skipped
CI / Build (push) Has been skipped
Bumping to v0.3.8 with git tweaks and doc updates.

### Added
- Add changelog entry for v0.3.7.

### Changed
- Update version to 0.3.8 in README installation instructions.
- Update bash and powershell scripts to reference new release version.
- Update git diff command to prefer remote origin/base branch.
- Fall back to local base branch if remote diff fails or is empty.
2026-03-31 11:32:57 +01:00
Gregory Gauthier
9fc9ae346b docs: update version to 0.3.8 in README installation instructions
All checks were successful
Release / Create Release (push) Successful in 37s
Update bash and powershell scripts to reference the new release version.
2026-03-31 11:31:57 +01:00
Gregory Gauthier
029621b916 refactor(prdescribe): prefer remote base for diff calculation
Update the git diff command to first attempt using the remote origin/base branch, as it is more likely to be up-to-date for pull requests. Fall back to the local base branch if the remote diff fails or is empty.
2026-03-31 11:31:03 +01:00
3 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,15 @@
## [v0.3.8] - 2026-03-31
Bumping to v0.3.8 with git tweaks and doc updates.
### Added
- Add changelog entry for v0.3.7.
### Changed
- Update version to 0.3.8 in README installation instructions.
- Update bash and powershell scripts to reference new release version.
- Update git diff command to prefer remote origin/base branch.
- Fall back to local base branch if remote diff fails or is empty.
## [v0.3.7] - 2026-03-31 ## [v0.3.7] - 2026-03-31
Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens. Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens.

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.7 export VERSION=0.3.8
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.7" $env:VERSION="0.3.8"
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.7 export VERSION=0.3.8
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.7" $env:VERSION="0.3.8"
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
``` ```

View File

@ -26,10 +26,10 @@ func init() {
func runPRDescribe(cmd *cobra.Command, _ []string) { func runPRDescribe(cmd *cobra.Command, _ []string) {
base, _ := cmd.Flags().GetString("base") base, _ := cmd.Flags().GetString("base")
// Prefer local base, fallback to origin/<base>. // Prefer remote (more likely up-to-date for PRs), fallback to local.
diff, err := gitDiff([]string{"diff", fmt.Sprintf("%s..HEAD", base), "--no-color"}) diff, err := gitDiff([]string{"diff", fmt.Sprintf("origin/%s..HEAD", base), "--no-color"})
if err != nil || strings.TrimSpace(diff) == "" { if err != nil || strings.TrimSpace(diff) == "" {
diff, err = gitDiff([]string{"diff", fmt.Sprintf("origin/%s..HEAD", base), "--no-color"}) diff, err = gitDiff([]string{"diff", fmt.Sprintf("%s..HEAD", base), "--no-color"})
if err != nil { if err != nil {
color.Red("Failed to get branch diff: %v", err) color.Red("Failed to get branch diff: %v", err)
return return