Skip to content

Commit

Permalink
fix(version): version string was bytes need string
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Mar 29, 2021
1 parent f3be4c9 commit 2327ed9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The easiest install is to download the release for your operating system
and architecture and run it.

```bash
curl -fsSL https://github.com/shakefu/home/releases/download/v1.1.1/home-v1.1.1-darwin-amd64.tar.gz | tar xz > home
curl -fsSL https://github.com/shakefu/home/releases/download/v1.1.2/home-v1.1.2-darwin-amd64.tar.gz | tar xz > home
./home setup
```

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.1
v1.1.2
2 changes: 1 addition & 1 deletion home.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
name = filepath.Base(name)
oper := runtime.GOOS
arch := runtime.GOARCH
version := embeddedFile("VERSION")
version := string(embeddedFile("VERSION"))

// Get a safe temp directory to use for downloads, etc.
tmpdir, err = os.MkdirTemp("", name+"-")
Expand Down

0 comments on commit 2327ed9

Please sign in to comment.