Skip to content

Commit 7b3f449

Browse files
committed
Work CI-CD
- Update azure pipeline yaml. - Fix nuspec. - Update logo for nuget assets. - Switch order to nuget feeds in nuget.config. - Fix typos. - Fix URL in nupkg readme. ***NO_CI***
1 parent 3d2d43f commit 7b3f449

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

NuGet.Config

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
<configuration>
33
<packageSources>
4-
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
54
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5+
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
66
</packageSources>
77
</configuration>

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

99
## Build status
1010

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

300300
## Code of Conduct
301301

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

305305
### .NET Foundation

assets/nf-logo.png

-193 Bytes
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.MagicBit.html
9+
API docs: https://docs.nanoframework.net/api/
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.MagicBit.nuspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@
55
<version>$version$</version>
66
<title>nanoFramework.MagicBit</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.MagicBit</projectUrl>
15-
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
1616
<icon>images\nf-logo.png</icon>
1717
<repository type="git" url="https://github.com/nanoframework/nanoFramework.MagicBit" commit="$commit$" />
1818
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
19-
<description>This package includes nanoFramework.MagicBit, a board package library for MagicBit in nanoFramework C# projects.</description>
20-
<summary>nanoFramework.MagicBit is a board package class library for nanoFramework C# projects</summary>
19+
<description>This package includes nanoFramework.MagicBit, a board package library for MagicBit in .NET nanoFramework C# projects.</description>
2120
<tags>nanoFramework C# csharp netmf netnf nanoframework MagicBit</tags>
2221
<dependencies>
2322
<dependency id="nanoFramework.CoreLibrary" version="1.10.5" />
@@ -44,7 +43,8 @@
4443
<file src="nanoFramework.MagicBit\bin\Release\nanoFramework.MagicBit.pe" target="lib\nanoFramework.MagicBit.pe" />
4544
<file src="nanoFramework.MagicBit\bin\Release\nanoFramework.MagicBit.xml" target="lib\nanoFramework.MagicBit.xml" />
4645
<file src="assets\readme.txt" target="" />
47-
<file src="assets\nf-logo.png" target="images\" />
46+
<file src="README.md" target="docs\" />
47+
<file src="assets\nf-logo.png" target="images" />
4848
<file src="LICENSE.md" target="" />
4949
</files>
5050
</package>

0 commit comments

Comments
 (0)