Repository navigation
Prepare v4.2: fix Wing DTDL, add Wing to SHACL, NuGet Trusted Publishing - #290
Merged
Merged
Conversation
- Wing.json: use localizable 'description' instead of 'comment' (DTDL v2 'comment' must be a plain string). This broke the DTDL merger on main after the Wing merge, so the merged jsonld/docs never got regenerated. - Add rec:Wing to the SHACL model. - Add V4.2 release notes. - push_to_nuget: fail early with a clear message if NUGET_API_KEY is missing, and pass the key explicitly to nuget push. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Uh9QpXkxdXkiX7AKo3Wso
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Uh9QpXkxdXkiX7AKo3Wso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
mainsince the Wing merge (Addition of new class Space:Wing and ODR. #257) (run).Wing.jsonused a localized object forcomment, but DTDL v2 only allows a plain string there. As a result, the mergedRealEstateCore.DTDLv2.jsonld, the docs and the API were never regenerated with Wing.Changes
Wing.json:comment→description(localizable in DTDL v2).rec.ttl: addedrec:Wing(subclass ofrec:SubBuilding) to the SHACL model.ReleaseNotes.md: V4.2 section (Wing, ODR 004, NuGet note).push_to_nuget.yml: publishes using nuget.org Trusted Publishing (GitHub OIDC → short-lived key viaNuGet/login@v1) instead of theNUGET_API_KEYsecret. A matching policy (rec-github, owner RealEstateCore, workflowpush_to_nuget.yml, packageRealEstateCore.Ontology.DTDLv2) is now active on nuget.org.Testing
Ran locally (.NET 8 with roll-forward):
mainwith the same error as CI; passes with this fix, and Wing is in the output.The Trusted Publishing login can only be tested by a real release.
Release steps after merge
4.2.0.0.v4.2.0frommain. This triggers the NuGet push.NUGET_API_KEYsecret can be deleted.Generated by Claude Code