Skip to content

Commit c65864c

Browse files
committed
Work CI-CD
- Update azure pipeline yaml. - Fix nuspec. - Update logo for nuget assets. - Update projects to migrate to VS2022. - Fix typos. - Fix URL in nupkg readme. ***NO_CI***
1 parent 1d9fd69 commit c65864c

7 files changed

Lines changed: 13 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Threading&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Threading) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Threading&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Threading) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Threading.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Threading/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
22

3-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
44

55
-----
66

7-
### Welcome to the **nanoFramework** System.Threading Library repository!
7+
### Welcome to the .NET **nanoFramework** System.Threading Library repository
88

99
## Build status
1010

@@ -29,7 +29,7 @@ The **nanoFramework** Class Libraries are licensed under the [MIT license](LICEN
2929

3030
## Code of Conduct
3131

32-
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
32+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
3333
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
3434

3535
### .NET Foundation

Tests/System.Threading.CancellationToken/System.Threading.CancellationToken.nfproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<ItemGroup>

assets/nf-logo.png

4.95 KB
Loading

assets/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
===================================================================================
88

9-
API docs: https://docs.nanoframework.net/api/nanoFramework.System.Threading.html
9+
API docs: https://docs.nanoframework.net/api/System.Threading
1010

1111
Browse our samples repository: https://github.com/nanoframework/samples
1212

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
5+
exclude: [README.md, CHANGELOG.md, CODE_OF_CONDUCT.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

99
# PR always trigger build
10+
pr:
11+
autoCancel: true
1012

1113
# add nf-tools repo to resources (for Azure Pipelines templates)
1214
resources:

nanoFramework.System.Threading.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<version>$version$</version>
66
<title>nanoFramework.System.Threading</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors,dotnetfoundation</owners>
8+
<owners>nanoframework,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<license type="file">LICENSE.md</license>
1111
<releaseNotes>
1212
</releaseNotes>
13+
<readme>docs\README.md</readme>
1314
<developmentDependency>false</developmentDependency>
1415
<projectUrl>https://github.com/nanoframework/System.Threading</projectUrl>
1516
<icon>images\nf-logo.png</icon>
1617
<repository type="git" url="https://github.com/nanoframework/System.Threading" commit="$commit$" />
1718
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
18-
<description>This package includes the nanoFramework.System.Threading assembly for .NET nanoFramework C# projects.
19-
This package requires a target with nanoFramework.System.Threading v$nativeVersion$ (checksum $checksum$).</description>
19+
<description>This package includes the nanoFramework.System.Threading assembly for .NET nanoFramework C# projects.&#10;This package requires a target with nanoFramework.System.Threading v$nativeVersion$ (checksum $checksum$).</description>
2020
<tags>nanoFramework C# csharp netmf netnf nanoFramework.System.Threading sntp</tags>
2121
<dependencies>
2222
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@@ -29,6 +29,7 @@ This package requires a target with nanoFramework.System.Threading v$nativeVersi
2929
<file src="nanoFramework.System.Threading\bin\Release\System.Threading.pe" target="lib\System.Threading.pe" />
3030
<file src="nanoFramework.System.Threading\bin\Release\System.Threading.xml" target="lib\System.Threading.xml" />
3131
<file src="assets\readme.txt" target="" />
32+
<file src="README.md" target="docs\" />
3233
<file src="assets\nf-logo.png" target="images" />
3334
<file src="LICENSE.md" target="" />
3435
</files>

nanoFramework.System.Threading/nanoFramework.System.Threading.nfproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Import Project="..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
55
<Import Project="..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
66
<PropertyGroup Label="Globals">
7-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
7+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
88
</PropertyGroup>
99
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
1010
<PropertyGroup>

0 commit comments

Comments
 (0)