Compare commits
3 Commits
e0e1100396
...
a2a1dbf33a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2a1dbf33a | ||
|
|
9fc9ae346b | ||
|
|
029621b916 |
12
CHANGELOG.md
12
CHANGELOG.md
@ -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.
|
||||||
|
|||||||
@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user