Skip to content
Snippets Groups Projects
Commit 9c5ce842 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Hotfix/913-slugUsage' into 'master'

Fix: Use Slug instead of Id

See merge request coscine/cs/sppagedeployer!7
parents 2e60fe1d 45f01db9
No related branches found
No related tags found
1 merge request!7Fix: Use Slug instead of Id
......@@ -29,7 +29,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Coscine.Database" publicKeyToken="767d77427707b70a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.19.0.0" newVersion="1.19.0.0" />
<bindingRedirect oldVersion="0.0.0.0-1.22.1.0" newVersion="1.22.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
......
......@@ -21,16 +21,16 @@ namespace Coscine.SPPageDeployer
var projectModel = new ProjectModel();
foreach (var project in projectModel.GetAll())
{
Console.WriteLine($"Deploying pages for project {project.Id}!");
Console.WriteLine($"Deploying pages for project {project.Slug}!");
try
{
pageUtil.DeployProjectPages(project);
Console.WriteLine($"Deployed pages for project {project.Id}!");
Console.WriteLine($"Deployed pages for project {project.Slug}!");
}
catch (Exception e)
{
Console.WriteLine($"{e.Message}");
Console.WriteLine($"Error: Could not deploy pages for project {project.Id}!");
Console.WriteLine($"Error: Could not deploy pages for project {project.Slug}!");
}
}
}
......
......@@ -40,14 +40,14 @@
<Reference Include="Consul, Version=0.7.2.6, Culture=neutral, PublicKeyToken=20a6ad9a81df1d95, processorArchitecture=MSIL">
<HintPath>..\packages\Consul.0.7.2.6\lib\net45\Consul.dll</HintPath>
</Reference>
<Reference Include="Coscine.Action, Version=1.12.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\Coscine.Action.1.12.0\lib\net461\Coscine.Action.dll</HintPath>
<Reference Include="Coscine.Action, Version=1.13.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\Coscine.Action.1.13.0\lib\net461\Coscine.Action.dll</HintPath>
</Reference>
<Reference Include="Coscine.Configuration, Version=1.5.0.0, Culture=neutral, PublicKeyToken=ce3d7a32d7dc1e5a, processorArchitecture=MSIL">
<HintPath>..\packages\Coscine.Configuration.1.5.0\lib\net461\Coscine.Configuration.dll</HintPath>
</Reference>
<Reference Include="Coscine.Database, Version=1.19.0.0, Culture=neutral, PublicKeyToken=767d77427707b70a, processorArchitecture=MSIL">
<HintPath>..\packages\Coscine.Database.1.19.0\lib\net461\Coscine.Database.dll</HintPath>
<Reference Include="Coscine.Database, Version=1.22.1.0, Culture=neutral, PublicKeyToken=767d77427707b70a, processorArchitecture=MSIL">
<HintPath>..\packages\Coscine.Database.1.22.1\lib\net461\Coscine.Database.dll</HintPath>
</Reference>
<Reference Include="Coscine.ProxyApi, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Coscine.ProxyApi.1.2.1\lib\net461\Coscine.ProxyApi.dll</HintPath>
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Consul" version="0.7.2.6" targetFramework="net461" />
<package id="Coscine.Action" version="1.12.0" targetFramework="net461" />
<package id="Coscine.Action" version="1.13.0" targetFramework="net461" />
<package id="Coscine.Configuration" version="1.5.0" targetFramework="net461" />
<package id="Coscine.Database" version="1.19.0" targetFramework="net461" />
<package id="Coscine.Database" version="1.22.1" targetFramework="net461" />
<package id="Coscine.ProxyApi" version="1.2.1" targetFramework="net461" />
<package id="EntityFramework" version="6.2.0" targetFramework="net461" />
<package id="linq2db" version="2.6.4" targetFramework="net461" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment