Skip to content

Commit a1652f0

Browse files
committed
Prepare v1.0.2 release
1 parent 5c9936f commit a1652f0

7 files changed

Lines changed: 33 additions & 19 deletions

File tree

.github/workflows/publish-nuget.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
verify-package:
1818
runs-on: ubuntu-latest
1919

20+
defaults:
21+
run:
22+
working-directory: packages/dotnet/Gabp.Schemas
23+
2024
steps:
2125
- name: Checkout repository
2226
uses: actions/checkout@v6.0.2
@@ -27,10 +31,7 @@ jobs:
2731
dotnet-version: '8.0.x'
2832

2933
- name: Pack .NET schema package
30-
run: |
31-
dotnet pack packages/dotnet/Gabp.Schemas/Gabp.Schemas.csproj \
32-
--configuration Release \
33-
--output artifacts/dotnet
34+
run: dotnet pack Gabp.Schemas.csproj --configuration Release --output "$GITHUB_WORKSPACE/artifacts/dotnet"
3435

3536
publish-to-nuget:
3637
needs: verify-package
@@ -39,6 +40,10 @@ jobs:
3940
(github.event_name == 'workflow_dispatch' && inputs.release_tag != '')
4041
runs-on: ubuntu-latest
4142

43+
defaults:
44+
run:
45+
working-directory: packages/dotnet/Gabp.Schemas
46+
4247
steps:
4348
- name: Checkout repository
4449
uses: actions/checkout@v6.0.2
@@ -52,23 +57,20 @@ jobs:
5257
env:
5358
RELEASE_TAG: ${{ github.event.release.tag_name || inputs.release_tag }}
5459
run: |
55-
PACKAGE_VERSION="$(dotnet msbuild packages/dotnet/Gabp.Schemas/Gabp.Schemas.csproj -nologo -getProperty:Version)"
60+
PACKAGE_VERSION="$(dotnet msbuild Gabp.Schemas.csproj -nologo -getProperty:Version)"
5661
if [ "$RELEASE_TAG" != "v$PACKAGE_VERSION" ]; then
5762
echo "Release tag $RELEASE_TAG does not match package version v$PACKAGE_VERSION" >&2
5863
exit 1
5964
fi
6065
6166
- name: Pack .NET schema package
62-
run: |
63-
dotnet pack packages/dotnet/Gabp.Schemas/Gabp.Schemas.csproj \
64-
--configuration Release \
65-
--output artifacts/dotnet
67+
run: dotnet pack Gabp.Schemas.csproj --configuration Release --output "$GITHUB_WORKSPACE/artifacts/dotnet"
6668

6769
- name: Publish package to NuGet
6870
env:
6971
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
7072
run: |
71-
dotnet nuget push "artifacts/dotnet/*.nupkg" \
73+
dotnet nuget push "$GITHUB_WORKSPACE"/artifacts/dotnet/*.nupkg \
7274
--api-key "$NUGET_API_KEY" \
7375
--source "https://api.nuget.org/v3/index.json" \
7476
--skip-duplicate

.github/workflows/validate.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ jobs:
203203
verify-dotnet-schema-package:
204204
runs-on: ubuntu-latest
205205

206+
defaults:
207+
run:
208+
working-directory: packages/dotnet/Gabp.Schemas
209+
206210
steps:
207211
- name: Checkout repository
208212
uses: actions/checkout@v6.0.2
@@ -213,10 +217,7 @@ jobs:
213217
dotnet-version: '8.0.x'
214218

215219
- name: Pack .NET schema package
216-
run: |
217-
dotnet pack packages/dotnet/Gabp.Schemas/Gabp.Schemas.csproj \
218-
--configuration Release \
219-
--output artifacts/dotnet
220+
run: dotnet pack Gabp.Schemas.csproj --configuration Release --output "$GITHUB_WORKSPACE/artifacts/dotnet"
220221

221222
verify-go-schema-package:
222223
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## Unreleased
88

9+
## 1.0.2 - 2026-03-15
10+
11+
### Fixed
12+
- Restored the repository metadata required for npm trusted publishing provenance.
13+
- Fixed the GitHub Actions `.NET` pack steps for the `Gabp.Schemas` package.
14+
915
## 1.0.1 - 2026-03-15
1016

1117
### Added

asyncapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
asyncapi: 3.0.0
22
info:
33
title: GABP Events
4-
version: 1.0.1
4+
version: 1.0.2
55
description: |
66
AsyncAPI specification for GABP (Game Agent Bridge Protocol) events.
77

packages/dotnet/Gabp.Schemas/Gabp.Schemas.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
55
<PackageId>Gabp.Schemas</PackageId>
6-
<Version>1.0.1</Version>
6+
<Version>1.0.2</Version>
77
<Authors>GABP Contributors</Authors>
88
<Description>Versioned GABP schema assets for .NET consumers.</Description>
99
<PackageTags>gabp;json-schema;game-agent-bridge-protocol</PackageTags>

packages/js/gabp-schemas/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/js/gabp-schemas/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gabp-schemas",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "JSON Schemas for the Game Agent Bridge Protocol (GABP)",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -27,6 +27,11 @@
2727
],
2828
"author": "GABP Contributors",
2929
"license": "Apache-2.0",
30+
"repository": {
31+
"type": "git",
32+
"url": "git+https://github.com/pardeike/GABP.git",
33+
"directory": "packages/js/gabp-schemas"
34+
},
3035
"dependencies": {
3136
"ajv": "^8.12.0",
3237
"ajv-formats": "^2.1.1"

0 commit comments

Comments
 (0)