Skip to content

Commit

Permalink
fix(ci) : rename cli-template to aicli
Browse files Browse the repository at this point in the history
  • Loading branch information
LordPax committed Sep 22, 2024
1 parent 93a0e4a commit cb1e51e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ jobs:
run: go get .

- run: |
mkdir cli-template
cp README.md install.sh CHANGELOG.md cli-template
mkdir aicli
cp README.md install.sh CHANGELOG.md aicli
- name: Build
run: |
name="cli-template"
name="aicli"
if [ "${{ matrix.os }}" = "windows" ]; then
name="${name}.exe"
fi
GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build -o "cli-template/${name}" .
GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build -o "aicli/${name}" .
- name: Archive
run: |
tar -czf \
cli-template-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}.tar.gz cli-template
aicli-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}.tar.gz aicli
- name: Release
uses: softprops/action-gh-release@v2
Expand All @@ -61,4 +61,4 @@ jobs:
draft: false
prerelease: false
files: |
cli-template-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}.tar.gz
aicli-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}.tar.gz
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ Plug 'LordPax/vim-aigpt'
Add the following line to your `~/.config/i3/config`:

```
bindsym $mod+s exec ~/usr/bin/aicli -c -g speech
bindsym $mod+s exec /usr/bin/aicli -c -g speech
```

0 comments on commit cb1e51e

Please sign in to comment.