-
Notifications
You must be signed in to change notification settings - Fork 9
/
PublishToMyget.bat
73 lines (60 loc) · 2.9 KB
/
PublishToMyget.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@echo off
if not exist nuget_pub (
md nuget_pub
)
for /R "nuget_pub" %%s in (*) do (
del %%s
)
::core
dotnet pack src/Cosmos.Logging -c Release -o nuget_pub
::extensions
dotnet pack src/Cosmos.Logging.Extensions.MicrosoftSupported -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.DependencyInjection -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.Host -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.NodaTime -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.EntityFramework -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.EntityFrameworkCore -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.FreeSql -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.NHibernate -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.SqlSugar -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.PostgreSql -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.CorrelationId -c Release -o nuget_pub
::runs on
dotnet pack src/Cosmos.Logging.RunsOn.AspNetCore -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.RunsOn.Console -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.RunsOn.ZKWeb -c Release -o nuget_pub
::configuration
dotnet pack src/Cosmos.Logging.Configuration.Xml -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Configuration.Json -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Configuration.Yaml -c Release -o nuget_pub
::sinks
dotnet pack src/Cosmos.Logging.Sinks.Console -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.File -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.Exceptionless -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.Log4Net -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.NLog -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.AliyunSls -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.JdCloud -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.TencentCloudCls -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Sinks.TomatoLog -c Release -o nuget_pub
::enrichers
dotnet pack src/Cosmos.Logging.Extensions.MySql -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.MySqlConnector -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.Oracle -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.Sqlite -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Extensions.SqlServer -c Release -o nuget_pub
::renderers
dotnet pack src/Cosmos.Logging.Renderers.Environment -c Release -o nuget_pub
dotnet pack src/Cosmos.Logging.Renderers.Process -c Release -o nuget_pub
for /R "nuget_pub" %%s in (*symbols.nupkg) do (
del %%s
)
echo.
echo.
set /p key=input key:
set source=https://www.myget.org/F/alexinea/api/v2/package
for /R "nuget_pub" %%s in (*.nupkg) do (
call nuget push %%s %key% -Source %source%
echo.
)
pause