Updated build.ln for ln.build >= 0.4.3
ln.build - build0.waldrennach.l--n.de build job pending
Details
ln.build - build0.waldrennach.l--n.de build job pending
Details
parent
1d02544745
commit
6e99dc4260
38
build.ln
38
build.ln
|
@ -1,47 +1,17 @@
|
||||||
{
|
{
|
||||||
|
"templates": [
|
||||||
|
"dotnet"
|
||||||
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
||||||
"CONFIGURATION": "Release"
|
"CONFIGURATION": "Release"
|
||||||
},
|
},
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "setup",
|
|
||||||
"env": {
|
|
||||||
"SOME_ENV_VAR": "Some text",
|
|
||||||
},
|
|
||||||
"commands": [
|
|
||||||
"SH echo Setting up build environment",
|
|
||||||
"SH set",
|
|
||||||
"SH rm -Rf .build"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "prepare",
|
"name": "prepare",
|
||||||
"commands": [
|
"commands": [
|
||||||
"SH dotnet restore",
|
"dotnet prepare */*.csproj"
|
||||||
"SH dotnet clean"
|
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "build",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet build -c $CONFIGURATION"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pack_and_publish",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet pack -o .build -c $CONFIGURATION",
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "push",
|
|
||||||
"commands": [
|
|
||||||
"SH for NUPKG in .build/ln.*.nupkg; do dotnet nuget push $NUPKG -s $NUGET_SOURCE -k $NUGET_APIKEY; done",
|
|
||||||
],
|
|
||||||
"secrets": {
|
|
||||||
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<Version>0.1.5</Version>
|
<Version>0.1.6-ci</Version>
|
||||||
<Authors>Harald Wolff-Thobaben</Authors>
|
<Authors>Harald Wolff-Thobaben</Authors>
|
||||||
<Company>l--n.de</Company>
|
<Company>l--n.de</Company>
|
||||||
<AssemblyVersion>0.0.1.0</AssemblyVersion>
|
<AssemblyVersion>0.0.1.0</AssemblyVersion>
|
||||||
|
|
Loading…
Reference in New Issue