Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Release: on every push to main, builds Release and pushes the DSoft.*.nupkg
# package (with its .snupkg symbols) to nuget.org as 4.0.yyMM.<run number + 100>, then
# package (with its .snupkg symbols) to nuget.org as 4.1.yyMM.<run number + 100>, then
# tags the commit and creates a GitHub release with the package attached.
# RELEASE_SUFFIX is empty for a stable version; set it to a suffix such as
# '-prerelease' to publish a prerelease.
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
# The run number is offset by 100 so the first GitHub release sorts above 4.0.2610.91, the
# last version Azure Pipelines published. The run number never resets, so the offset is
# permanent and harmless.
version="4.0.$(date -u +%y%m).$(( ${{ github.run_number }} + 100 ))"
version="4.1.$(date -u +%y%m).$(( ${{ github.run_number }} + 100 ))"
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "package=$version$RELEASE_SUFFIX" >> "$GITHUB_OUTPUT"
echo "Version: $version$RELEASE_SUFFIX"
Expand Down
4 changes: 2 additions & 2 deletions DSoft.System.BluetoothLe/DSoft.System.BluetoothLe.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<!-- The assembly identity is pinned here rather than stamped by the build server. A strong-named
assembly whose version moves on every CI build forces a binding redirect on net481 for no
benefit; the public key token is what actually establishes identity. -->
<VersionPrefix>4.0.1</VersionPrefix>
<VersionPrefix>4.1.0</VersionPrefix>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<PackageId>DSoft.System.BluetoothLe</PackageId>
<Title>DSoft.System.BluetoothLe</Title>
Expand All @@ -51,7 +51,7 @@
<PackageTags>BluetoothLe dotnet android ios macos maccatalyst windows wpf netstandard tvos</PackageTags>
<Copyright>Copyright © 2026 DSoft</Copyright>
<PackageReleaseNotes>
Unreleased - Device.BondState reports a device's bond (pairing) state, and on Android
4.1 - adds bonding and the GATT status on failures. Device.BondState reports a device's bond (pairing) state, and on Android
Adapter.DeviceBondStateChanged is raised when it changes. DeviceBondState gains Unknown, declared last
so existing values are unchanged, which Apple platforms always report because CoreBluetooth does not
expose bonding. BondStatusBroadcastReceiver is now registered by the Android adapter.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The library started as a fork/repackage of [Plugin.BLE](https://github.com/dotne
Reference the package from your app project:

```xml
<PackageReference Include="DSoft.System.BluetoothLe" Version="4.0.*" />
<PackageReference Include="DSoft.System.BluetoothLe" Version="4.1.*" />
```

When working from source, reference the project:
Expand Down Expand Up @@ -267,7 +267,7 @@ remaining seven target frameworks build and the two Windows ones are skipped.
GitHub Actions (`.github/workflows/`):

- `ci.yml`: runs on pull requests to `main` and `development`. Builds Release for every target framework. Publishes nothing.
- `release.yml`: runs on every push to `main` (changes only to Markdown or workflow files are skipped; run it by hand to test a workflow change). Builds Release as `4.0.yyMM.<run number + 100>` plus `RELEASE_SUFFIX` (empty for a stable version; set it to `-prerelease` in the workflow to publish a prerelease), uploads the package as the `drop` artifact and pushes it to nuget.org with Trusted Publishing (OIDC, `NUGET_USER` secret, `nuget` environment), then tags the commit `v<version>` and creates a GitHub release with the package attached. `AssemblyVersion` is not stamped by CI: it stays pinned in the project file (see "Strong naming").
- `release.yml`: runs on every push to `main` (changes only to Markdown or workflow files are skipped; run it by hand to test a workflow change). Builds Release as `4.1.yyMM.<run number + 100>` plus `RELEASE_SUFFIX` (empty for a stable version; set it to `-prerelease` in the workflow to publish a prerelease), uploads the package as the `drop` artifact and pushes it to nuget.org with Trusted Publishing (OIDC, `NUGET_USER` secret, `nuget` environment), then tags the commit `v<version>` and creates a GitHub release with the package attached. `AssemblyVersion` is not stamped by CI: it stays pinned in the project file (see "Strong naming").

### Strong naming

Expand Down
Loading