1
0
mirror of https://github.com/krugersu/YY.EventLogExportAssistant.git synced 2024-12-04 10:34:47 +02:00

Добавил настройки и скрипты для публикации Nuget-пакетов

This commit is contained in:
YPermitin 2020-05-10 22:46:41 +05:00
parent b331b18aa8
commit 5f8a368a90
7 changed files with 76 additions and 4 deletions

View File

@ -6,4 +6,10 @@ install:
- dotnet restore
script:
- dotnet build --configuration Release
- dotnet test Tests/YY.EventLogExportAssistant.Core.Tests/YY.EventLogExportAssistant.Core.Tests.csproj
- dotnet test Tests/YY.EventLogExportAssistant.Core.Tests/YY.EventLogExportAssistant.Core.Tests.csproj
deploy:
skip_cleanup: true
provider: script
script: chmod +x ./Scripts/deploy.sh && ./Scripts/deploy.sh $NUGET_API_KEY
on:
branch: master

View File

@ -3,12 +3,20 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>YY.EventLogExportAssistant</RootNamespace>
<Version>1.0.0.0</Version>
<Version>1.0.0.1</Version>
<PackageId>YY.EventLogExportAssistant.Core</PackageId>
<Authors>Permitin Yuriy</Authors>
<Company />
<Product>Event log export assistant</Product>
<AssemblyName>YY.EventLogExportAssistant</AssemblyName>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Core library for exprorting 1C:Enterprise 8.x platform's event log files to other storage</Description>
<PackageProjectUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</PackageProjectUrl>
<Copyright>Copyright (c) 2020 Permitin Yury</Copyright>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<PackageTags>event, log, 1C, enterprise, export</PackageTags>
</PropertyGroup>
<ItemGroup>
@ -16,4 +24,11 @@
<PackageReference Include="YY.EventLogReaderAssistant" Version="1.0.0.15" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\Nuget\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

View File

@ -2,7 +2,18 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.0.0.0</Version>
<Version>1.0.0.1</Version>
<PackageId>YY.EventLogExportAssistant.PostgreSQL</PackageId>
<Authors>Permitin Yuriy</Authors>
<Product>Event log export assistant for PostgreSQL</Product>
<Description>Library for exprorting 1C:Enterprise 8.x platform's event log files to PostgreSQL database</Description>
<Copyright>Copyright (c) 2020 Permitin Yury</Copyright>
<PackageProjectUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<PackageTags>event, log, 1C, enterprise, export, postgre, postgresql</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
@ -24,4 +35,11 @@
<ProjectReference Include="..\YY.EventLogExportAssistant.Core\YY.EventLogExportAssistant.Core.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\Nuget\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

View File

@ -2,11 +2,19 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.0.0.0</Version>
<Version>1.0.0.1</Version>
<PackageId>YY.EventLogExportAssistant.SQLServer</PackageId>
<Authors>Permitin Yuriy</Authors>
<Company />
<Product>Event log export assistant for SQL Server</Product>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Library for exprorting 1C:Enterprise 8.x platform's event log files to SQL Server database</Description>
<Copyright>Copyright (c) 2020 Permitin Yury</Copyright>
<PackageProjectUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/YPermitin/YY.EventLogExportAssistant</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<PackageTags>event, log, 1C, enterprise, export, sqlserver</PackageTags>
</PropertyGroup>
<ItemGroup>
@ -28,4 +36,11 @@
<ProjectReference Include="..\YY.EventLogExportAssistant.Core\YY.EventLogExportAssistant.Core.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\Nuget\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

BIN
Nuget/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

6
Scripts/deploy.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
API_KEY = $1
dotnet nuget push ./YY.EventLogExportAssistant/Libs/YY.EventLogExportAssistant.Core/bin/Release/YY.EventLogExportAssistant.Core.*.nupkg -k $1 -s https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push ./YY.EventLogExportAssistant/Libs/YY.EventLogExportAssistant.SQLServer\bin\Release/YY.EventLogExportAssistant.SQLServer.*.nupkg -k $1 -s https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push ./YY.EventLogExportAssistant/Libs/YY.EventLogExportAssistant.PostgreSQL/bin/Release/YY.EventLogExportAssistant.PostgreSQL.*.nupkg -k $1 -s https://api.nuget.org/v3/index.json --skip-duplicate

View File

@ -19,6 +19,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.EventLogExportAssistant.
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4CA9D292-5342-4388-BC1C-A59E837CE283}"
ProjectSection(SolutionItems) = preProject
.travis.yml = .travis.yml
appveyor.yml = appveyor.yml
LICENSE = LICENSE
Readme.md = Readme.md
EndProjectSection
@ -42,10 +44,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.EventLogExportToSQLServe
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{AF6C4D18-9F7B-4E44-9531-A191AA6F725E}"
ProjectSection(SolutionItems) = preProject
Scripts\appveyor-build.ps1 = Scripts\appveyor-build.ps1
Scripts\appveyor-runTests.ps1 = Scripts\appveyor-runTests.ps1
Scripts\deploy.sh = Scripts\deploy.sh
Scripts\PostgreSQL. Скрипт создания базы для хранения данных журнала регистрации.sql = Scripts\PostgreSQL. Скрипт создания базы для хранения данных журнала регистрации.sql
Scripts\SQL Server. Скрипт создания базы для хранения данных журнала регистрации.sql = Scripts\SQL Server. Скрипт создания базы для хранения данных журнала регистрации.sql
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Nuget", "Nuget", "{9C060815-539F-46E8-83AD-89F573568BC5}"
ProjectSection(SolutionItems) = preProject
Nuget\icon.png = Nuget\icon.png
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -87,6 +97,8 @@ Global
{A3822078-CDCA-45DF-872D-153AD7DF142E} = {44948605-8B87-444A-B94D-530ADB059377}
{9756BB57-6B11-4DE2-ACBD-6277691FF083} = {6EBA96D1-CD22-4055-B272-ABD22E864DF6}
{34E386CA-1ADE-41FC-ADCB-229EC8B20CE6} = {6EBA96D1-CD22-4055-B272-ABD22E864DF6}
{AF6C4D18-9F7B-4E44-9531-A191AA6F725E} = {4CA9D292-5342-4388-BC1C-A59E837CE283}
{9C060815-539F-46E8-83AD-89F573568BC5} = {4CA9D292-5342-4388-BC1C-A59E837CE283}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FD699DA7-A963-4E80-A744-FFB504828AF5}