diff --git a/package.json b/package.json index b176c7b02..da0cf4f9f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "2.2.3", + "version": "2.2.4", "license": "AGPL-3.0", "scripts": { "dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev", diff --git a/src/lib/common.ts b/src/lib/common.ts index c7f229b0e..68f85572f 100644 --- a/src/lib/common.ts +++ b/src/lib/common.ts @@ -129,9 +129,8 @@ export const removeDestinationDocker = async ({ id, engine }) => { }; export const createDirectories = async ({ repository, buildId }) => { - const dashedRepository = dashify(repository); - const repodir = `/tmp/build-sources/${dashedRepository}/`; - const workdir = `/tmp/build-sources/${dashedRepository}/${buildId}`; + const repodir = `/tmp/build-sources/${repository}/`; + const workdir = `/tmp/build-sources/${repository}/${buildId}`; await asyncExecShell(`mkdir -p ${workdir}`); diff --git a/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte b/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte index e3a26a38d..d83f56d17 100644 --- a/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte +++ b/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte @@ -243,9 +243,7 @@ const url = `/applications/${id}/configuration/repository.json`; try { - const repository = `${selected.group.full_path.replace('-personal', '')}/${ - selected.project.name - }`; + const repository = selected.project.path_with_namespace; await post(url, { repository, branch: selected.branch.name,