Skip to content

Commit 4d2038d

Browse files
committed
Work CI-CD
- Add missing Nugets. - Fix nuget versions. - Add code sign config. - Fix sonarcloud key. - Fix dependencies in nuspec. - Rename license.
1 parent c5dd21a commit 4d2038d

File tree

5 files changed

+28
-8
lines changed

5 files changed

+28
-8
lines changed
File renamed without changes.

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ steps:
3232
# all build, update and publish steps
3333
- template: azure-pipelines-templates/class-lib-build.yml@templates
3434
parameters:
35-
sonarCloudProject: 'nanoframework.System.IO.Ports'
35+
sonarCloudProject: 'nanoframework_System.IO.Ports'
3636

3737
# step from template @ nf-tools repo
3838
# report error

config/SignClient.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"SignClient": {
3+
"AzureAd": {
4+
"AADInstance": "https://login.microsoftonline.com/",
5+
"ClientId": "c248d68a-ba6f-4aa9-8a68-71fe872063f8",
6+
"TenantId": "16076fdc-fcc1-4a15-b1ca-32c9a255900e"
7+
},
8+
"Service": {
9+
"Url": "https://codesign.dotnetfoundation.org/",
10+
"ResourceId": "https://SignService/3c30251f-36f3-490b-a955-520addb85001"
11+
}
12+
}
13+
}
14+

config/filelist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/System.IO.Ports

nanoFramework.System.IO.Ports.nuspec

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,25 @@
55
<version>$version$</version>
66
<title>nanoFramework.System.IO.Ports</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors</owners>
8+
<owners>nanoFramework project contributors,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10-
<license type="expression">MIT</license>
10+
<license type="file">LICENSE.md</license>
1111
<releaseNotes>
1212
</releaseNotes>
1313
<developmentDependency>false</developmentDependency>
14-
<projectUrl>https://github.com/nanoframework/lib-System.IO.Ports</projectUrl>
14+
<projectUrl>https://github.com/nanoframework/System.IO.Ports</projectUrl>
1515
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
16-
<repository type="git" url="https://github.com/nanoframework/nanoFramework.System.IO.Ports" commit="$commit$" />
16+
<repository type="git" url="https://github.com/nanoframework/System.IO.Ports" commit="$commit$" />
1717
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
1818
<description>This package includes the System.IO.Ports assembly for nanoFramework C# projects.
1919
This package requires a target with System.IO.Ports v$nativeVersion$.</description>
2020
<summary>System.IO.Ports assembly for nanoFramework C# projects</summary>
2121
<tags>nanoFramework C# csharp netmf netnf System.IO.Ports</tags>
2222
<dependencies>
23-
<dependency id="nanoFramework.CoreLibrary" version="1.10.3-preview.7" />
23+
<dependency id="nanoFramework.CoreLibrary" version="1.10.3-preview.11" />
24+
<dependency id="nanoFramework.Hardware.Esp32" version="1.3.3-preview.14" />
25+
<dependency id="nanoFramework.Runtime.Events" version="1.9.0-preview.26" />
26+
<dependency id="nanoFramework.System.Text" version="1.1.1-preview.49" />
2427
</dependencies>
2528
</metadata>
2629
<files>
@@ -29,7 +32,9 @@ This package requires a target with System.IO.Ports v$nativeVersion$.</descripti
2932
<file src="System.IO.Ports\bin\Release\System.IO.Ports.pdbx" target="lib\System.IO.Ports.pdbx" />
3033
<file src="System.IO.Ports\bin\Release\System.IO.Ports.pe" target="lib\System.IO.Ports.pe" />
3134
<file src="System.IO.Ports\bin\Release\System.IO.Ports.xml" target="lib\System.IO.Ports.xml" />
32-
<!-- readme -->
33-
<file src="readme.txt" target="readme.txt" />
35+
36+
<file src="assets\readme.txt" target="" />
37+
<file src="assets\nf-logo.png" target="images" />
38+
<file src="LICENSE.md" target="" />
3439
</files>
3540
</package>

0 commit comments

Comments
 (0)