Update build.ln, reorganize repository
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 14:39:34 +01:00
parent 1e23cb43e4
commit c432312ef9
16 changed files with 10 additions and 35 deletions

5
.gitignore vendored
View File

@ -39,3 +39,8 @@ Thumbs.db
# dotCover
*.dotCover
*.log
*.log.old
.vscode
.build

View File

@ -1,47 +1,17 @@
{
"templates": [
"dotnet"
],
"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"
"dotnet prepare */*.csproj"
]
},
{
"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"
}
}
]
}

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.1.2</Version>
<Version>0.1.3-ci</Version>
<Authors>Harald Wolff-Thobaben</Authors>
<Company>l--n.de</Company>
<AssemblyVersion>0.0.1.1</AssemblyVersion>