This repository was archived by the owner on Aug 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +56
-3
lines changed
src/Sentry.PlatformAbstractions Expand file tree Collapse file tree 7 files changed +56
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ environment:
44 global :
55 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
66 DOTNET_CLI_TELEMETRY_OPTOUT : 1
7+ ZEUS_HOOK_BASE :
8+ secure : dcqtt6sxxBV0tDkXmPZOy5szEf2J7bnIlD7xZZLFC9Ald0sqhPfNEqT0n+kpdWkER5P1kC/+2N29Wq1KJtFGj8Oo+LOybERbQJk6ZoyUJmgH7mtxBtbMsiXBUWZjElLIr7Hi5yiCqTFJ49yLLKwSnn7TvxPWX7qPHfT51O9XE3U=
9+ branches :
10+ only :
11+ - master
12+ - /^release\/.*$/
13+ install :
14+ # Push job information to Zeus
15+ - npm install -g @zeus-ci/cli
16+ - zeus job update --status=pending -B "%APPVEYOR_PULL_REQUEST_TITLE%" -J "%APPVEYOR_JOB_NAME%"
717test : off
818build_script :
919- ps : ./build.ps1
@@ -14,3 +24,14 @@ dotnet_csproj:
1424 package_version : ' {version}'
1525artifacts :
1626- path : ' **\*.nupkg'
27+
28+ on_success :
29+ - ps : >
30+ $ErrorActionreferencePreference = "stop";
31+ Resolve-Path -Relative .\src\*\bin\Release\*.nupkg |
32+ Foreach-Object { zeus upload -t "application/zip+nupkg" $_};
33+ if ($?) { zeus job update --status=passed }
34+ else { $host.SetShouldExit(1) }
35+
36+ on_failure :
37+ - zeus job update --status=failed
Original file line number Diff line number Diff line change 1+ ---
2+ github :
3+ owner : getsentry
4+ repo : sentry-dotnet-platform-abstractions
5+ targets :
6+ - name : nuget
Original file line number Diff line number Diff line change 33 - curl -L https://dot.net/v1/dotnet-install.sh > /tmp/install-dotnet.sh && bash /tmp/install-dotnet.sh -Version 1.1.8
44 - sudo mv ~/.dotnet/shared/Microsoft.NETCore.App/* "$(dirname $(dirname $(dotnet --info | grep "Base Path" | awk '{print $3}')))/shared/Microsoft.NETCore.App/"
55 - sudo mv ~/.dotnet/sdk/* "$(dirname $(dirname $(dotnet --info | grep "Base Path" | awk '{print $3}')))/sdk/"
6+ - npm install -g @zeus-ci/cli
67env :
78 global :
89 - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
@@ -19,3 +20,18 @@ matrix:
1920 group : edge
2021script :
2122 - ./build.sh
23+
24+ branches :
25+ only :
26+ - master
27+ - /^release\/.*$/
28+
29+ notifications :
30+ webhooks :
31+ urls :
32+ - https://zeus.ci/hooks/94196268-8f31-11e8-87bb-0a580a280341/public/provider/travis/webhook
33+ on_success : always
34+ on_failure : always
35+ on_start : always
36+ on_cancel : always
37+ on_error : always
Original file line number Diff line number Diff line change 55 <AssemblyOriginatorKeyFile >../../.assets/Sentry.snk</AssemblyOriginatorKeyFile >
66 <SignAssembly >true</SignAssembly >
77
8+ <Version >1.0.0-preview1</Version >
9+
810 <!-- When compiling .NET SDK 2.0 projects targeting .NET 4.x on 32 bit Windows or Mono using 'dotnet build' you -->
911 <!-- have to teach MSBuild where the Mono copy of the reference asssemblies is -->
1012 <TargetFullFx Condition =" $(TargetFramework.StartsWith('net4')) OR $(TargetFramework.StartsWith('net3'))" >true</TargetFullFx >
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- msbuild /t:restore,build /p:Configuration=Release
4+ msbuild /t:restore,build,pack /p:Configuration=Release
55
66targets=` perl -nle ' print $& if m{TargetFrameworks\>\K(.*)(?=\<)}' \
77 test/Sentry.PlatformAbstractions.Tests/Sentry.PlatformAbstractions.Tests.csproj \
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eux
3+
4+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5+ cd $SCRIPT_DIR /..
6+
7+ OLD_VERSION=" $1 "
8+ NEW_VERSION=" $2 "
9+
10+ sed -i ' ' -e " 1,/<Version>/ s!<Version>.*</Version>!<Version>$NEW_VERSION </Version>!" Directory.Build.props
Original file line number Diff line number Diff line change 77 <TreatWarningsAsErrors >True</TreatWarningsAsErrors >
88 <LangVersion >7.2</LangVersion >
99 <Description >Abstractions to platform information</Description >
10- <VersionPrefix >1.0.1</VersionPrefix >
11- <VersionSuffix >preview1</VersionSuffix >
1210 <Authors >Sentry Team and Contributors</Authors >
1311 <PackageTags >Sentry;GetSentry;Error-Reporting;Crash-Reporting;Exception-Handling</PackageTags >
1412 <PackageIconUrl >https://raw.githubusercontent.com/getsentry/sentry-dotnet-platform-abstractions/master/.assets/sentry-nuget.png</PackageIconUrl >
You can’t perform that action at this time.
0 commit comments