Skip to content

Commit

Permalink
Use tar instead of zip, working install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScorpion committed May 18, 2023
1 parent 9122c61 commit 385e59b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
with:
go-version: '1.20'
- run: go build ./cmd/gokart.go
- run: zip gokart-prompt.zip gokart gokart.* README.md
- run: mkdir gokart-prompt
- run: mv gokart gokart.* README.md gokart-prompt
- run: tar czvf gokart-prompt.tar.gz gokart-prompt
- uses: softprops/action-gh-release@v1
with:
files: gokart-prompt.zip
files: gokart-prompt.tar.gz
generate_release_notes: true
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@
<details>
<summary>Oh My Zsh</summary>

Download the latest release:

// TODO
Download and extract the latest release:

```shell

curl -fsSL https://github.com/LucaScorpion/gokart-prompt/releases/latest/download/gokart-prompt.tar.gz | tar xzvf - -C "$ZSH_CUSTOM/themes"
```

Symlink `gokart.zsh-theme`
Symlink `gokart.zsh-theme` in your themes directory:

```shell
ln -s "$ZSH_CUSTOM/themes/gokart-prompt/gokart.zsh-theme" "$ZSH_CUSTOM/themes/gokart.zsh-theme"
Expand Down

0 comments on commit 385e59b

Please sign in to comment.