Skip to content

Commit e8ad6c3

Browse files
committed
Work CI-CD
- Replace NuGet installer with template. - Various fixes in nuspecs. - Swap feed order in NuGet config. ***NO_CI***
1 parent 2251be3 commit e8ad6c3

File tree

5 files changed

+15
-19
lines changed

5 files changed

+15
-19
lines changed

.github_changelog_generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
user=nanoframework
2-
project=lib-nanoFramework.System.Text
2+
project=System.Text
33
issues=true
44
add_issues_wo_labels=false
55
add_pr_wo_labels=false

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

README.md

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

4-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/master/resources/logo/nanoFramework-repo-logo.png)
4+
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
55

66
-----
77

@@ -11,8 +11,8 @@
1111

1212
| Component | Build Status | NuGet Package |
1313
|:-|---|---|
14-
| nanoFramework.System.Text | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_apis/build/status/nanoframework.lib-nanoFramework.System.Text?branchName=master)](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_build/latest?definitionId=57&branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Text.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Text/) |
15-
| nanoFramework.System.Text (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_apis/build/status/nanoframework.lib-nanoFramework.System.Text?branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_build/latest?definitionId=57&branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.nanoFramework.System.Text&protocolType=NuGet&view=overview) |
14+
| nanoFramework.System.Text | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_apis/build/status/nanoframework.lib-nanoFramework.System.Text?branchName=main)](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_build/latest?definitionId=57&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Text.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Text/) |
15+
| nanoFramework.System.Text (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_apis/build/status/nanoframework.lib-nanoFramework.System.Text?branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.System.Text/_build/latest?definitionId=57&branchName=develop) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Text.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Text/) |
1616

1717
## Feedback and documentation
1818

@@ -22,7 +22,7 @@ Join our Discord community [here](https://discord.gg/gCyBu8T).
2222

2323
## Credits
2424

25-
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/master/CONTRIBUTORS.md).
25+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
2626

2727
## License
2828

azure-pipelines.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ jobs:
2525
vmImage: 'windows-2019'
2626

2727
variables:
28-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
28+
DOTNET_NOLOGO: true
2929
solution: '**/*.sln'
3030
buildPlatform: 'Any CPU'
3131
buildConfiguration: 'Release'
3232
nugetPackageName: 'nanoFramework.System.Text'
33-
repoName: 'nanoFramework.System.Text'
3433

3534
steps:
3635

@@ -53,16 +52,13 @@ jobs:
5352
vmImage: 'windows-2019'
5453

5554
variables:
56-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
55+
DOTNET_NOLOGO: true
5756

5857
steps:
5958

6059
- checkout: none
6160

62-
- task: NuGetToolInstaller@0
63-
inputs:
64-
versionSpec: '5.4.0'
65-
displayName: 'Install specific version of NuGet'
61+
- template: azure-pipelines-templates/install-nuget.yml@templates
6662

6763
# update dependencies
6864
- task: UpdatenFDependencies@1
@@ -81,14 +77,15 @@ jobs:
8177
##################################
8278
# report build failure to Discord
8379
- job: Report_Build_Failure
80+
condition: or( failed('Build_Library'), failed('Update_Dependencies'))
8481

8582
dependsOn:
8683
- Build_Library
8784
- Update_Dependencies
88-
condition: or( failed('Build_Library'), failed('Update_Dependencies'))
8985

9086
pool:
9187
vmImage: 'windows-2019'
88+
9289
steps:
9390

9491
- checkout: self

nanoFramework.System.Text.nuspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
<releaseNotes>
1212
</releaseNotes>
1313
<developmentDependency>false</developmentDependency>
14-
<projectUrl>https://github.com/nanoframework/lib-nanoFramework.System.Text</projectUrl>
14+
<projectUrl>https://github.com/nanoframework/System.Text</projectUrl>
1515
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
1616
<icon>images\nf-logo.png</icon>
17-
<repository type="git" url="https://github.com/nanoframework/lib-nanoFramework.System.Text" commit="$commit$" />
17+
<repository type="git" url="https://github.com/nanoframework/System.Text" commit="$commit$" />
1818
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
19-
<description>This package includes the System.Text assembly for nanoFramework C# projects.
20-
This package requires a target with nanoFramework.System.Text v$nativeVersion$.</description>
19+
<description>This package includes the System.Text assembly for nanoFramework C# projects.&#10;This package requires a target with System.Text v$nativeVersion$.</description>
2120
<summary>System.Text assembly for nanoFramework C# projects</summary>
2221
<tags>nanoFramework C# csharp netmf netnf nanoFramework.System.Text</tags>
2322
<dependencies>

0 commit comments

Comments
 (0)