Skip to content

Commit

Permalink
fix windows zip issue and bump new release
Browse files Browse the repository at this point in the history
  • Loading branch information
tamerh committed Dec 5, 2019
1 parent 32b3953 commit b8b67af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions biobtree.go
Expand Up @@ -20,8 +20,8 @@ import (
"github.com/urfave/cli"
)

const version = "1.4.0"
const versionTag = "v1.4.0"
const version = "1.5.0"
const versionTag = "v1.5.0"

var config *configs.Conf

Expand Down
2 changes: 1 addition & 1 deletion configs/configs.go
Expand Up @@ -326,7 +326,7 @@ func (c *Conf) unzip(path string, dest, confVersion string) error {
}
}()

path := filepath.Join(dest, strings.TrimPrefix(f.Name, "biobtree-conf-"+confVersion+string(filepath.Separator)))
path := filepath.Join(dest, strings.TrimPrefix(f.Name, "biobtree-conf-"+confVersion+"/"))

if len(path) <= 1 { // Root folder TODO CHECK windows
return nil
Expand Down

0 comments on commit b8b67af

Please sign in to comment.