You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(release): update release workflow to include ARM64 builds and version check
This commit enhances the GitHub Actions release workflow by:
- Adding support for building ARM64 binaries for both Linux and macOS platforms.
- Modifying the pre-release condition to only consider 'alpha' versions as pre-releases, simplifying the release process.
These changes ensure that users can obtain binaries for a wider range of architectures, improving accessibility and usability of the GitAI tool.
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,15 @@ To use GitAI, you need to have Go installed.
17
17
```bash
18
18
go build -o gitai
19
19
```
20
-
3. (Optional) Move the executable to your PATH:
20
+
3. (Optional) Move the executable to your PATH and ensure it's executable:
21
21
```bash
22
-
mv gitai /usr/local/bin/
22
+
sudo mv gitai /usr/local/bin/
23
+
sudo chmod +x /usr/local/bin/gitai
23
24
```
24
25
25
26
## Usage
26
27
27
-
Currently, GitAI provides a `commit`command to generate commit messages.
28
+
Currently, GitAI provides a `commit` command to generate commit messages and a `version` command to check the CLI version.
28
29
29
30
### Generating Commit Messages
30
31
@@ -36,6 +37,18 @@ gitai commit
36
37
37
38
The tool will analyze your staged changes and suggest a commit message.
38
39
40
+
### Check Version
41
+
42
+
To check the installed version of GitAI:
43
+
44
+
```bash
45
+
gitai version
46
+
```
47
+
48
+
## Downloadable Releases
49
+
50
+
Pre-built binaries for various operating systems and architectures are available on the [GitHub Releases page](https://github.com/richardamare/gitai/releases). Download the appropriate executable for your system.
51
+
39
52
## Environment Variables
40
53
41
54
GitAI requires your OpenAI API key to function. Set the `OPENAI_API_KEY` environment variable:
0 commit comments