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",
"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",

View File

@ -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}`);

View File

@ -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,