diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ed5169..a55495a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index eebc898..cc70c04 100644 --- a/README.md +++ b/README.md @@ -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 ```