Skip to content

Commit 2b5d56c

Browse files
authored
Work CI-CD (#107)
***NO_CI***
1 parent cc5e70e commit 2b5d56c

8 files changed

+16
-15
lines changed

README.md

+3-3
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.Networking.Sntp&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Networking.Sntp) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.Networking.Sntp&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Networking.Sntp) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.Networking.Sntp.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.Networking.Sntp/) [![#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** SNTP Library repository!
7+
### Welcome to the .NET **nanoFramework** SNTP 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

assets/nf-logo.png

4.95 KB
Loading

azure-pipelines.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: ["*.md", .gitignore]
5+
exclude: [README.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:
@@ -20,12 +22,11 @@ pool:
2022
vmImage: 'windows-2019'
2123

2224
variables:
23-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
24-
solution: '**/*.sln'
25+
DOTNET_NOLOGO: true
26+
solution: 'nanoFramework.Networking.Sntp.sln'
2527
buildPlatform: 'Any CPU'
2628
buildConfiguration: 'Release'
2729
nugetPackageName: 'nanoFramework.Networking.Sntp'
28-
repoName: 'nanoFramework.Networking.Sntp'
2930

3031
steps:
3132

nanoFramework.Networking.Sntp.DELIVERABLES.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<version>$version$</version>
66
<title>nanoFramework.Networking.Sntp.DELIVERABLES</title>
77
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework project contributors</owners>
8+
<owners>nanoFramework,dotnetfoundation</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<license type="file">LICENSE.md</license>
1111
<releaseNotes>

nanoFramework.Networking.Sntp.nuspec

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<version>$version$</version>
66
<title>nanoFramework.Networking.Sntp</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/nanoFramework.Networking.Sntp</projectUrl>
1516
<icon>images\nf-logo.png</icon>
1617
<repository type="git" url="https://github.com/nanoframework/nanoFramework.Networking.Sntp" commit="$commit$" />
1718
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
18-
<description>This package includes the nanoFramework.Networking.Sntp assembly for nanoFramework C# projects.
19-
This package requires a target with nanoFramework.Networking.Sntp v$nativeVersion$ (checksum $checksum$).</description>
19+
<description>This package includes the nanoFramework.Networking.Sntp assembly for nanoFramework C# projects.&#10;This package requires a target with nanoFramework.Networking.Sntp v$nativeVersion$ (checksum $checksum$).</description>
2020
<tags>nanoFramework C# csharp netmf netnf nanoFramework.Networking.Sntp sntp</tags>
2121
<dependencies>
2222
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@@ -30,6 +30,7 @@ This package requires a target with nanoFramework.Networking.Sntp v$nativeVersio
3030
<file src="nanoFramework.Networking.Sntp\bin\Release\nanoFramework.Networking.Sntp.xml" target="lib\nanoFramework.Networking.Sntp.xml" />
3131
<file src="assets\nf-logo.png" target="images\nf-logo.png" />
3232
<file src="assets\readme.txt" target="" />
33+
<file src="README.md" target="docs\" />
3334
<file src="LICENSE.md" target="" />
3435
</files>
3536
</package>

nanoFramework.Networking.Sntp.sln

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27703.2042
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.0.31912.275
54
MinimumVisualStudioVersion = 10.0.40219.1
65
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoFramework.Networking.Sntp", "nanoFramework.Networking.Sntp\nanoFramework.Networking.Sntp.nfproj", "{A8146E83-014A-4570-A2F9-8B8BE68CFD7B}"
76
EndProject

nanoFramework.Networking.Sntp/nanoFramework.Networking.Sntp.nfproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" 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
<PropertyGroup>
-4.03 KB
Binary file not shown.

0 commit comments

Comments
 (0)