Merge pull request #253 from coollabsio/v2.2.4

v2.2.4
This commit is contained in:
Andras Bacsai 2022-03-31 15:45:37 +02:00 committed by GitHub
commit 7b64166fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "coolify", "name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.", "description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "2.2.3", "version": "2.2.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev", "dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev",

View File

@ -129,9 +129,8 @@ export const removeDestinationDocker = async ({ id, engine }) => {
}; };
export const createDirectories = async ({ repository, buildId }) => { export const createDirectories = async ({ repository, buildId }) => {
const dashedRepository = dashify(repository); const repodir = `/tmp/build-sources/${repository}/`;
const repodir = `/tmp/build-sources/${dashedRepository}/`; const workdir = `/tmp/build-sources/${repository}/${buildId}`;
const workdir = `/tmp/build-sources/${dashedRepository}/${buildId}`;
await asyncExecShell(`mkdir -p ${workdir}`); await asyncExecShell(`mkdir -p ${workdir}`);

View File

@ -243,9 +243,7 @@
const url = `/applications/${id}/configuration/repository.json`; const url = `/applications/${id}/configuration/repository.json`;
try { try {
const repository = `${selected.group.full_path.replace('-personal', '')}/${ const repository = selected.project.path_with_namespace;
selected.project.name
}`;
await post(url, { await post(url, {
repository, repository,
branch: selected.branch.name, branch: selected.branch.name,