diff --git a/README.md b/README.md index 0990db695..721dc0862 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,19 @@ brew install lazygit ### Ubuntu Packages for Ubuntu 16.04, 18.04 and 18.10 are available via [Launchpad PPA](https://launchpad.net/~lazygit-team). -They are built daily, straight from master branch. +**Release builds** + +Built from git tags. Supposed to be more stable. + +```sh +sudo add-apt-repository ppa:lazygit-team/release +sudo apt-get update +sudo apt-get install lazygit +``` + +**Daily builds** + +Built from master branch once in 24 hours (or more sometimes). ```sh sudo add-apt-repository ppa:lazygit-team/daily diff --git a/VERSION b/VERSION index e26c92f2c..00a638d6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.61 \ No newline at end of file +v0.1.64 \ No newline at end of file diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 44fd57f1c..3349e4860 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -359,7 +359,7 @@ func (c *GitCommand) IsInMergeState() (bool, error) { func (c *GitCommand) RemoveFile(file File) error { // if the file isn't tracked, we assume you want to delete it if !file.Tracked { - return c.OSCommand.RunCommand("rm -rf ./" + file.Name) + return os.RemoveAll(file.Name) } // if the file is tracked, we assume you want to just check it out return c.OSCommand.RunCommand("git checkout " + file.Name)