Skip to content

Commit 01731af

Browse files
authored
Merge pull request #3 from FINTmodels/move-to-nuget
Moved publishing from Bintray to NuGet
2 parents b4b3a9a + 9f8bb9b commit 01731af

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

FINT.Model.Resource/FINT.Model.Resource.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netstandard1.4</TargetFramework>
4-
<Version>1.0.1</Version>
5-
<Authors>FINT</Authors>
4+
<ReleaseVersion>1.0.1</ReleaseVersion>
5+
<PackOnBuild>true</PackOnBuild>
6+
<PackageId>FINT.Model.Resource</PackageId>
7+
<PackageVersion>1.0.1</PackageVersion>
8+
<Company>Vigo IKS</Company>
9+
<Authors>FINTLabs</Authors>
10+
<Description>FINT Resource Model contains the core classes for FINT data models containing HATEOAS relations</Description>
11+
<SynchReleaseVersion>true</SynchReleaseVersion>
612
<PackageTags>fint</PackageTags>
713
</PropertyGroup>
814
<ItemGroup>

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ pipeline {
2525
}
2626
}
2727
environment {
28-
BINTRAY = credentials('fint-bintray')
28+
NUGET_KEY = credentials('fint-nuget')
2929
}
3030
when {
3131
branch 'master'
3232
}
3333
steps {
3434
unstash 'libs'
3535
archiveArtifacts '**/*.nupkg'
36-
sh "dotnet nuget push FINT.Model.Resource/bin/Release/FINT.Model.Resource.*.nupkg -k ${BINTRAY} -s https://api.bintray.com/nuget/fint/nuget"
36+
sh "dotnet nuget push FINT.Model.Resource/bin/Release/FINT.Model.Resource.*.nupkg -k ${NUGET_KEY} -s https://api.nuget.org/v3/index.json"
3737
}
3838
}
3939
}

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<configuration>
22
<packageSources>
33
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
4-
<add key="Bintray" value="https://api.bintray.com/nuget/fint/nuget" />
4+
55
</packageSources>
66
</configuration>

0 commit comments

Comments
 (0)