mirror of
https://github.com/alexhopeoconnor/binarylane-dotnet.git
synced 2026-10-22 11:47:49 +10:00
Compare commits
2
Commits
v0.1.0-beta.1
...
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44bb892ddd | ||
|
|
27800da06a |
@@ -29,7 +29,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Set up .NET
|
- name: Set up .NET
|
||||||
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6
|
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
run: ./eng/test-demo-package.sh artifacts
|
run: ./eng/test-demo-package.sh artifacts
|
||||||
|
|
||||||
- name: Upload NuGet packages
|
- name: Upload NuGet packages
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nuget-packages
|
name: nuget-packages
|
||||||
path: artifacts/
|
path: artifacts/
|
||||||
@@ -83,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: TestResults/
|
path: TestResults/
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Set up .NET
|
- name: Set up .NET
|
||||||
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6
|
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Compare live contract with the reviewed snapshot
|
- name: Compare live contract with the reviewed snapshot
|
||||||
id: contract
|
id: contract
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload contract-check report
|
- name: Upload contract-check report
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: contract-check
|
name: contract-check
|
||||||
path: contract-check.txt
|
path: contract-check.txt
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out tagged source
|
- name: Check out tagged source
|
||||||
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
run: ./eng/test-demo-package.sh artifacts
|
run: ./eng/test-demo-package.sh artifacts
|
||||||
|
|
||||||
- name: Upload NuGet packages
|
- name: Upload NuGet packages
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nuget-packages
|
name: nuget-packages
|
||||||
path: artifacts/
|
path: artifacts/
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download NuGet packages
|
- name: Download NuGet packages
|
||||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nuget-packages
|
name: nuget-packages
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@@ -153,10 +153,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out tagged source
|
- name: Check out tagged source
|
||||||
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Download NuGet packages
|
- name: Download NuGet packages
|
||||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nuget-packages
|
name: nuget-packages
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@@ -171,16 +171,23 @@ jobs:
|
|||||||
TAG_NAME: ${{ github.ref_name }}
|
TAG_NAME: ${{ github.ref_name }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
release_flags=()
|
||||||
|
if [[ "$PACKAGE_VERSION" == *-* ]]; then
|
||||||
|
release_flags+=(--prerelease)
|
||||||
|
fi
|
||||||
|
|
||||||
if gh release view "$TAG_NAME" --repo "$GITHUB_REPOSITORY" > /dev/null 2>&1; then
|
if gh release view "$TAG_NAME" --repo "$GITHUB_REPOSITORY" > /dev/null 2>&1; then
|
||||||
gh release upload "$TAG_NAME" artifacts/* eng/openapi/contract.json --clobber --repo "$GITHUB_REPOSITORY"
|
gh release upload "$TAG_NAME" artifacts/* eng/openapi/contract.json --clobber --repo "$GITHUB_REPOSITORY"
|
||||||
gh release edit "$TAG_NAME" \
|
gh release edit "$TAG_NAME" \
|
||||||
--title "BinaryLane.Api $PACKAGE_VERSION" \
|
--title "BinaryLane.Api $PACKAGE_VERSION" \
|
||||||
--notes-file release-notes.md \
|
--notes-file release-notes.md \
|
||||||
|
"${release_flags[@]}" \
|
||||||
--repo "$GITHUB_REPOSITORY"
|
--repo "$GITHUB_REPOSITORY"
|
||||||
else
|
else
|
||||||
gh release create "$TAG_NAME" artifacts/* eng/openapi/contract.json \
|
gh release create "$TAG_NAME" artifacts/* eng/openapi/contract.json \
|
||||||
--title "BinaryLane.Api $PACKAGE_VERSION" \
|
--title "BinaryLane.Api $PACKAGE_VERSION" \
|
||||||
--notes-file release-notes.md \
|
--notes-file release-notes.md \
|
||||||
--verify-tag \
|
--verify-tag \
|
||||||
|
"${release_flags[@]}" \
|
||||||
--repo "$GITHUB_REPOSITORY"
|
--repo "$GITHUB_REPOSITORY"
|
||||||
fi
|
fi
|
||||||
|
|||||||
+10
-1
@@ -11,6 +11,14 @@ version.
|
|||||||
|
|
||||||
- Nothing yet.
|
- Nothing yet.
|
||||||
|
|
||||||
|
## [1.0.0] - 2026-08-17
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- First stable release of the BinaryLane v2 .NET client, following the public
|
||||||
|
`0.1.0-beta.1` validation release.
|
||||||
|
- Package validation for the `net8.0` and `netstandard2.0` public API assets.
|
||||||
|
|
||||||
## [0.1.0-beta.1] - 2026-08-16
|
## [0.1.0-beta.1] - 2026-08-16
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -24,5 +32,6 @@ version.
|
|||||||
- OpenAPI contract snapshot and change-monitoring automation for BinaryLane
|
- OpenAPI contract snapshot and change-monitoring automation for BinaryLane
|
||||||
API reference version `0.39.1`.
|
API reference version `0.39.1`.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/alexhopeoconnor/binarylane-dotnet/compare/v0.1.0-beta.1...HEAD
|
[Unreleased]: https://github.com/alexhopeoconnor/binarylane-dotnet/compare/v1.0.0...HEAD
|
||||||
|
[1.0.0]: https://github.com/alexhopeoconnor/binarylane-dotnet/releases/tag/v1.0.0
|
||||||
[0.1.0-beta.1]: https://github.com/alexhopeoconnor/binarylane-dotnet/releases/tag/v0.1.0-beta.1
|
[0.1.0-beta.1]: https://github.com/alexhopeoconnor/binarylane-dotnet/releases/tag/v0.1.0-beta.1
|
||||||
|
|||||||
@@ -20,11 +20,9 @@ committed upstream contract independently of the provider's reference version.
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dotnet add package BinaryLane.Api --prerelease
|
dotnet add package BinaryLane.Api
|
||||||
```
|
```
|
||||||
|
|
||||||
Remove `--prerelease` once a stable package version is available.
|
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
The registration below reads `BinaryLane:ApiToken` from application
|
The registration below reads `BinaryLane:ApiToken` from application
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
## 1. Install the package
|
## 1. Install the package
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dotnet add package BinaryLane.Api --prerelease
|
dotnet add package BinaryLane.Api
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2. Configure the API token
|
## 2. Configure the API token
|
||||||
|
|||||||
+2
-2
@@ -35,8 +35,8 @@ policy for this exact repository/workflow/environment identity.
|
|||||||
leading `v`.
|
leading `v`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git tag -a v0.1.0-beta.1 -m "BinaryLane.Api 0.1.0-beta.1"
|
git tag -a v<package-version> -m "BinaryLane.Api <package-version>"
|
||||||
git push origin v0.1.0-beta.1
|
git push origin v<package-version>
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Approve the protected `release` environment in GitHub Actions.
|
6. Approve the protected `release` environment in GitHub Actions.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<PackageId>BinaryLane.Api</PackageId>
|
<PackageId>BinaryLane.Api</PackageId>
|
||||||
<AssemblyName>BinaryLane.Api</AssemblyName>
|
<AssemblyName>BinaryLane.Api</AssemblyName>
|
||||||
<RootNamespace>BinaryLane.Api.V2</RootNamespace>
|
<RootNamespace>BinaryLane.Api.V2</RootNamespace>
|
||||||
<Version>0.1.0-beta.1</Version>
|
<Version>1.0.0</Version>
|
||||||
<Authors>Alex Hope-O'Connor</Authors>
|
<Authors>Alex Hope-O'Connor</Authors>
|
||||||
<Owners>alex.hope.oconnor</Owners>
|
<Owners>alex.hope.oconnor</Owners>
|
||||||
<Copyright>Copyright © 2026 Alex Hope-O'Connor</Copyright>
|
<Copyright>Copyright © 2026 Alex Hope-O'Connor</Copyright>
|
||||||
@@ -23,6 +23,7 @@
|
|||||||
<IncludeSymbols>true</IncludeSymbols>
|
<IncludeSymbols>true</IncludeSymbols>
|
||||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||||
|
<EnablePackageValidation>true</EnablePackageValidation>
|
||||||
<!-- Pack must serialize multi-target nuspec and symbols generation. -->
|
<!-- Pack must serialize multi-target nuspec and symbols generation. -->
|
||||||
<BuildInParallel>false</BuildInParallel>
|
<BuildInParallel>false</BuildInParallel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user