Skip to content

Commit

Permalink
chore: Update CodeGPT binary and conventional-commit template.
Browse files Browse the repository at this point in the history
- Update CodeGPT binary download links for linux, macOS, and Windows
- Update CodeGPT version to v0.0.5
- Add an example scope for "docs" in the conventional_commit template
  • Loading branch information
appleboy committed Mar 9, 2023
1 parent c7b313e commit 4343ed4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ The pre-compiled binaries can be downloaded from [release page](https://github.c
On linux AMD64

```sh
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.4/CodeGPT-0.0.4-linux-amd64 -O codegpt
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.5/CodeGPT-0.0.5-linux-amd64 -O codegpt
```

On macOS (Intel amd64)

```sh
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.4/CodeGPT-0.0.4-darwin-amd64 -O codegpt
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.5/CodeGPT-0.0.5-darwin-amd64 -O codegpt
```

On macOS (Apple arm64)

```sh
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.4/CodeGPT-0.0.4-darwin-arm64 -O codegpt
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.5/CodeGPT-0.0.5-darwin-arm64 -O codegpt
```

On Windows (AMD64)

```sh
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.4/CodeGPT-0.0.4-windows-amd64.exe -O codegpt.exe
wget -c https://github.com/appleboy/CodeGPT/releases/download/v0.0.5/CodeGPT-0.0.5-windows-amd64.exe -O codegpt.exe
```

Change the binary permissions to `755` and copy the binary to the system bin directory. Use the `codegpt` command as shown below.

```sh
$ codegpt version
version: v0.0.4 commit: 359a48a
version: v0.0.5 commit: xxxxxxx
```

## Setup
Expand Down
2 changes: 1 addition & 1 deletion prompt/templates/conventional_commit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Here are the labels you can choose from:
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- chore: Updating libraries, copyrights or other repo setting, includes updating dependencies.
- ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, GitHub Actions)
- docs: Non-code changes, such as fixing typos or adding new documentation
- docs: Non-code changes, such as fixing typos or adding new documentation (example scopes: Markdown file)
- feat: a commit of the type feat introduces a new feature to the codebase
- fix: A commit of the type fix patches a bug in your codebase
- perf: A code change that improves performance
Expand Down

0 comments on commit 4343ed4

Please sign in to comment.