Updated build.ln
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 14:48:59 +01:00
parent e88acfceb0
commit e55b049025
3 changed files with 51 additions and 76 deletions

87
.gitignore vendored
View File

@ -1,41 +1,46 @@
# Autosave files # Autosave files
*~ *~
# build # build
[Oo]bj/ [Oo]bj/
[Bb]in/ [Bb]in/
packages/ packages/
TestResults/ TestResults/
# globs # globs
Makefile.in Makefile.in
*.DS_Store *.DS_Store
*.sln.cache *.sln.cache
*.suo *.suo
*.cache *.cache
*.pidb *.pidb
*.userprefs *.userprefs
*.usertasks *.usertasks
config.log config.log
config.make config.make
config.status config.status
aclocal.m4 aclocal.m4
install-sh install-sh
autom4te.cache/ autom4te.cache/
*.user *.user
*.tar.gz *.tar.gz
tarballs/ tarballs/
test-results/ test-results/
Thumbs.db Thumbs.db
.vs/ .vs/
# Mac bundle stuff # Mac bundle stuff
*.dmg *.dmg
*.app *.app
# resharper # resharper
*_Resharper.* *_Resharper.*
*.Resharper *.Resharper
# dotCover # dotCover
*.dotCover *.dotCover
*.log
*.log.old
.vscode
.build

View File

@ -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"
}
} }
] ]
} }

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.0.1-test</Version> <Version>1.0.1-ci</Version>
<Authors>Harald Wolff-Thobaben</Authors> <Authors>Harald Wolff-Thobaben</Authors>
<Company>l--n.de</Company> <Company>l--n.de</Company>
<Product>ln.json</Product> <Product>ln.json</Product>