Skip to content

Commit

Permalink
release-v1.10.0
Browse files Browse the repository at this point in the history
\r\n***PUBLISH_RELEASE***
  • Loading branch information
nfbot authored Mar 28, 2022
2 parents c2559f5 + e82c619 commit b49d445
Show file tree
Hide file tree
Showing 10 changed files with 138 additions and 58 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,12 @@ jobs:
name: Update .NET nanoFramework dependencies
timeout-minutes: 15
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/[email protected]
with:
path: main
- name: Checkout tools repo
uses: actions/[email protected]
with:
repository: nanoframework/nf-tools
path: tools
uses: actions/checkout@v2
- name: Update dependencies
run: ./github-actions/update-nf-dependencies.ps1
working-directory: tools
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
if: env.CREATE_PR == 'true'
uses: nanoframework/nanodu@v1
with:
title: '${{ env.PR_TITLE }}'
body: |
${{ env.PR_MESSAGE }}
[version update]
### :warning: This is an automated update. :warning:
committer: 'nfbot <[email protected]>'
branch: ${{ env.BRANCH_NAME }}
path: main
labels: |
Type: dependencies
solutionsToCheck: 'nanoFramework.Runtime.Events.sln'
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,66 @@

## [v1.9.2-preview.14](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.9.2-preview.14) (2021-12-02)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.13...HEAD)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#226](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/226)

## [v1.10.0-preview.13](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.13) (2022-03-17)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.11...v1.10.0-preview.13)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#225](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/225)

## [v1.10.0-preview.11](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.11) (2022-03-14)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.8...v1.10.0-preview.11)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#224](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/224)

## [v1.10.0-preview.8](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.8) (2022-02-17)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.6...v1.10.0-preview.8)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#223](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/223)

## [v1.10.0-preview.6](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.6) (2022-01-28)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.4...v1.10.0-preview.6)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#222](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/222)

## [v1.10.0-preview.4](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.4) (2022-01-20)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.10.0-preview.1...v1.10.0-preview.4)

**Documentation and other chores:**

- Update 1 NuGet dependencies [\#221](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/221)

## [v1.10.0-preview.1](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.10.0-preview.1) (2021-12-28)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.9.2...v1.10.0-preview.1)

**Implemented enhancements:**

- Add touch and gesture events [\#220](https://github.com/nanoframework/nanoFramework.Runtime.Events/pull/220)

## [v1.9.2](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.9.2) (2021-12-02)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.9.2-preview.14...v1.9.2)

## [v1.9.2-preview.14](https://github.com/nanoframework/nanoFramework.Runtime.Events/tree/v1.9.2-preview.14) (2021-12-02)

[Full Changelog](https://github.com/nanoframework/nanoFramework.Runtime.Events/compare/v1.9.2-preview.12...v1.9.2-preview.14)

**Documentation and other chores:**
Expand Down
69 changes: 51 additions & 18 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
# Copyright (c) .NET Foundation and Contributors
# See LICENSE file in the project root for full license information.

trigger:
branches:
include: [main, develop, "release-*" ]
include:
- main
- develop
- release-*
paths:
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
exclude:
- .github_changelog_generator
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- LICENSE.md
- README.md
- NuGet.Config
- assets/*
- config/*
- .github/*

tags:
include: ["v*"]
include:
- v*

# PR always trigger build
pr:
Expand All @@ -22,9 +40,13 @@ jobs:

##############################
- job: Build_Library
condition: or( eq(variables['UPDATE_DEPENDENTS'], 'false'), eq(variables['StartReleaseCandidate'], 'true') )
condition: >-
or(
eq(variables['UPDATE_DEPENDENTS'], 'false'),
eq(variables['StartReleaseCandidate'], 'true')
)
pool:
vmImage: 'windows-2019'
vmImage: 'windows-latest'

variables:
DOTNET_NOLOGO: true
Expand All @@ -43,13 +65,26 @@ jobs:

##############################
- job: Update_Dependents
condition: or( and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['StartReleaseCandidate'], 'false') ), and( succeeded(), contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'), eq(variables['StartReleaseCandidate'], 'false') ), eq(variables['UPDATE_DEPENDENTS'], 'true') )
condition: >-
or(
and(
succeeded(),
startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
eq(variables['StartReleaseCandidate'], 'false')
),
and(
succeeded(),
contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'),
eq(variables['StartReleaseCandidate'], 'false')
),
eq(variables['UPDATE_DEPENDENTS'], 'true')
)
dependsOn:
- Build_Library

pool:
vmImage: 'windows-2019'
vmImage: 'windows-latest'

variables:
DOTNET_NOLOGO: true
Expand All @@ -59,24 +94,22 @@ jobs:
- checkout: self
fetchDepth: 1

- template: azure-pipelines-templates/install-nuget.yml@templates

# update dependencies
- task: UpdatenFDependencies@1
inputs:
gitHubToken: $(GitHubToken)
# update dependents
- template: azure-pipelines-templates/update-dependents.yml@templates
parameters:
repositoriesToUpdate: |
nanoFramework.Device.Bluetooth
nanoFramework.Devices.Can
nanoFramework.Hardware.Esp32
nanoFramework.Graphics
Windows.Devices.SerialCommunication
System.Device.Gpio
System.IO.FileSystem
System.IO.Ports
System.Net
Windows.Devices.SerialCommunication
Windows.Storage
Windows.Devices.Gpio
System.Device.Gpio
Windows.Devices.WiFi
System.Net
displayName: Update dependent class libs
##################################
# report build failure to Discord
Expand All @@ -88,7 +121,7 @@ jobs:
condition: or( failed('Build_Library'), failed('Update_Dependents'))

pool:
vmImage: 'windows-2019'
vmImage: 'windows-latest'

steps:

Expand Down
3 changes: 1 addition & 2 deletions nanoFramework.Runtime.Events.DELIVERABLES.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<id>nanoFramework.Runtime.Events.DELIVERABLES</id>
<version>$version$</version>
<title>nanoFramework.Runtime.Events.DELIVERABLES</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework,dotnetfoundation</owners>
<authors>nanoframework</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE.md</license>
<releaseNotes>
Expand Down
9 changes: 4 additions & 5 deletions nanoFramework.Runtime.Events.nuspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>nanoFramework.Runtime.Events</id>
<version>$version$</version>
<title>nanoFramework.Runtime.Events</title>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework,dotnetfoundation</owners>
<authors>nanoframework</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE.md</license>
<releaseNotes>
Expand All @@ -18,9 +17,9 @@
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<description>This package includes the nanoFramework.Runtime.Events assembly for nanoFramework C# projects.
This package requires a target with nanoFramework.Runtime.Events v$nativeVersion$ (checksum $checksum$).</description>
<tags>nanoFramework C# csharp netmf netnf nanoFramework.Runtime.Events</tags>
<tags>nanoFramework C# csharp netmf netnf</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="1.11.7" />
<dependency id="nanoFramework.CoreLibrary" version="1.12.0" />
</dependencies>
</metadata>
<files>
Expand Down
5 changes: 2 additions & 3 deletions nanoFramework.Runtime.Events.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
# Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoFramework.Runtime.Events", "nanoFramework.Runtime.Events\nanoFramework.Runtime.Events.nfproj", "{0ABBD655-2F68-4F7D-A66F-A552EA812EB1}"
EndProject
Expand Down
12 changes: 11 additions & 1 deletion nanoFramework.Runtime.Events/EventCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ public enum EventCategory
/// <summary>
/// Specifies a Bluetooth event.
/// </summary>
Bluetooth = 100
Bluetooth = 100,

/// <summary>
/// Specifies a Touch event.
/// </summary>
Touch = 120,

/// <summary>
/// Specifies a Gesture event.
/// </summary>
Gesture = 130
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib, Version=1.11.7.2, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.CoreLibrary.1.11.7\lib\mscorlib.dll</HintPath>
<Reference Include="mscorlib, Version=1.12.0.4, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.CoreLibrary.1.12.0\lib\mscorlib.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion nanoFramework.Runtime.Events/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.CoreLibrary" version="1.11.7" targetFramework="netnanoframework10" />
<package id="nanoFramework.CoreLibrary" version="1.12.0" targetFramework="netnanoframework10" />
<package id="Nerdbank.GitVersioning" version="3.1.91" developmentDependency="true" targetFramework="netnanoframework10" />
</packages>
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.9.2",
"version": "1.10.0",
"assemblyVersion": {
"precision": "revision"
},
Expand Down

0 comments on commit b49d445

Please sign in to comment.