Skip to content

Commit 2393aa8

Browse files
committed
Release v0.1.1-pre: Code quality improvements
1 parent 3f763e4 commit 2393aa8

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@
1717

1818
## Installation
1919

20+
### From Binary (Recommended)
21+
22+
Download the latest release from [GitHub Releases](https://github.com/Cod-e-Codes/ignoregrets/releases):
23+
24+
#### Latest Stable (v0.1.0)
25+
- Windows: `ignoregrets_v0.1.0_windows_amd64.exe`
26+
- Linux: `ignoregrets_v0.1.0_linux_amd64`
27+
- macOS: `ignoregrets_v0.1.0_darwin_amd64`
28+
29+
#### Latest Pre-release (v0.1.1-pre)
30+
- Windows: `ignoregrets_v0.1.1-pre_windows_amd64.exe`
31+
- Linux: `ignoregrets_v0.1.1-pre_linux_amd64`
32+
- macOS: `ignoregrets_v0.1.1-pre_darwin_amd64`
33+
34+
### From Source
35+
2036
```bash
2137
go install github.com/Cod-e-Codes/ignoregrets@latest
2238
```

RELEASE_NOTES.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
# ignoregrets v0.1.1-pre
2+
3+
Pre-release update with code quality improvements.
4+
5+
## Changes
6+
7+
- Improved code quality with `gofmt -s` formatting
8+
- Reduced cyclomatic complexity in core functions:
9+
- Split `RestoreSnapshot` into smaller, focused functions
10+
- Improved test organization and readability
11+
- Added commit hash validation during restore
12+
13+
## Installation
14+
15+
### Windows
16+
1. Download `ignoregrets_v0.1.1-pre_windows_amd64.exe`
17+
2. Rename to `ignoregrets.exe`
18+
3. Move to a directory in your PATH
19+
20+
### Linux
21+
1. Download `ignoregrets_v0.1.1-pre_linux_amd64`
22+
2. Make executable: `chmod +x ignoregrets_v0.1.1-pre_linux_amd64`
23+
3. Move to `/usr/local/bin/ignoregrets`
24+
25+
### macOS
26+
1. Download `ignoregrets_v0.1.1-pre_darwin_amd64`
27+
2. Make executable: `chmod +x ignoregrets_v0.1.1-pre_darwin_amd64`
28+
3. Move to `/usr/local/bin/ignoregrets`
29+
30+
For more information, see the [README](README.md).
31+
32+
---
33+
134
# ignoregrets v0.1.0
235

336
Initial release of `ignoregrets`, a lightweight CLI tool for snapshotting and restoring Git-ignored files.

0 commit comments

Comments
 (0)