cleanup, update build.ln
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 15:20:58 +01:00
parent 377a8a16b9
commit fb412cd3b9
3 changed files with 18 additions and 56 deletions

View File

@ -1,47 +1,17 @@
{
"env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release"
},
"stages": [
{
"name": "setup",
"env": {
"SOME_ENV_VAR": "Some text",
},
"commands": [
"SH echo Setting up build environment",
"SH set",
"SH rm -Rf .build"
]
},
{
"name": "prepare",
"commands": [
"SH dotnet restore",
"SH dotnet clean"
]
},
{
"name": "build",
"commands": [
"SH dotnet build -c $CONFIGURATION"
]
},
{
"name": "pack_and_publish",
"commands": [
"SH dotnet pack ln.templates -o .build -c $CONFIGURATION",
]
},
{
"name": "push",
"commands": [
"SH dotnet nuget push .build/ln.templates.*.nupkg -s $NUGET_SOURCE -k $NUGET_APIKEY"
],
"secrets": {
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
}
}
]
}
{
"templates": [
"dotnet"
],
"env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release"
},
"stages": [
{
"name": "prepare",
"commands": [
"dotnet prepare */*.csproj"
]
}
]
}

View File

@ -1,8 +1,6 @@
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using ln.templates.streams;
using ln.templates.elements;
namespace ln.templates

View File

@ -4,7 +4,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<Version>0.2.0</Version>
<Version>0.2.1-ci</Version>
<Authors>Harald Wolff-Thobaben</Authors>
<Company>l--n.de</Company>
<Description>A simple templating system</Description>
@ -12,12 +12,6 @@
<PackageTags>templating template</PackageTags>
</PropertyGroup>
<ItemGroup>
<Compile Remove="ln.templates.test\**" />
<EmbeddedResource Remove="ln.templates.test\**" />
<None Remove="ln.templates.test\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Jint" Version="2.11.58" />
</ItemGroup>