From 36eed802280e2767dec3a16f6ea8908fb08ec3b9 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 16 Aug 2018 19:26:43 +0200 Subject: [PATCH 1/5] add info about release PPA --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 From dcd3bb6bbde338715cb7ce249c88396fa2a97fe6 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 17 Aug 2018 11:13:21 +1000 Subject: [PATCH 2/5] use platform independent command to remove a file or directory --- pkg/commands/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From c08e6d9999f60e7f8edb50a035be00ebd4d61cda Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 17 Aug 2018 11:14:54 +1000 Subject: [PATCH 3/5] bump version to v0.1.62 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e26c92f2c..d694cb00f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.61 \ No newline at end of file +v0.1.62 \ No newline at end of file From 3b1689727a013d884e151d2c294fb42d88035e76 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 17 Aug 2018 11:15:19 +1000 Subject: [PATCH 4/5] bump version to v0.1.63 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d694cb00f..b7816814d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.62 \ No newline at end of file +v0.1.63 \ No newline at end of file From 933aae7da12e0f5ee1ef8eada1e72e386cd68e51 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 17 Aug 2018 11:15:41 +1000 Subject: [PATCH 5/5] bump version to v0.1.64 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index b7816814d..00a638d6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.63 \ No newline at end of file +v0.1.64 \ No newline at end of file