Commit 58e2caaa8c8ccd5b88398cb846e9f338a1906777

Thomas de Grivel 2024-07-19T15:45:08

git_put_release: path = tree

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 379ec47..1b32ac1 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -745,7 +745,7 @@ defmodule KmxgitWeb.RepositoryController do
     git
   end
   defp git_put_release(git = %{valid: true}, repo, tree, conn) do
-    case Git.files("#{Repository.full_slug(repo)}/release", "master", "release/#{tree}") do
+    case Git.files("#{Repository.full_slug(repo)}/release", "master", "#{tree}") do
       {:ok, []} ->
         IO.inspect("git_put_release: Git.files []")
         git