PROJECT: YouDo.Data
tags:
- net47
- netstandard2.0
stage: build
except:
- /^(\d+.\d+.\d+)(-(\w+(.\w+)*))?$/
script:
- echo Restoring packages
- echo Building
- dotnet build
- echo "Build complete"
pack:
variables:
PROJECT: YouDo.Data
tags:
- net47
- netstandard2.0
stage: pack
only:
- /^(\d+.\d+.\d+)(-(\w+(.\w+)*))?$/
script:
- echo Packing
- dotnet pack -c Debug —include-symbols —include-source -o "%cd%\artifacts\"
- echo "Publishing nuget packages"
artifacts:
expire_in: 31d
paths:
- artifacts/*.nupkg
publish:
variables:
PROJECT: YouDo.Data
tags:
- net47
- netstandard2.0
stage: publish
only:
- /^(\d+.\d+.\d+)(-(\w+(.\w+)*))?$/
- manual
script:
- echo "Publishing nuget packages"
- dotnet nuget push —force-english-output -s YouDo -k "%NUGET_TOKEN%" "%cd%"\artifacts\*.nupkg"
Вы в youdo работаете?
Обсуждают сегодня