Skip to content
Open
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
1 change: 1 addition & 0 deletions sdks/csharp/.meta-check-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release~
11 changes: 0 additions & 11 deletions sdks/csharp/packages/.gitignore

This file was deleted.

Binary file not shown.
Binary file not shown.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# These files end up in the output directory from `dotnet pack`. We need to gitignore them
# otherwise we'll commit them to the Unity repository with no .meta files which causes
# warnings and sometimes build errors.
.nupkg.metadata
.signature.p7s
LICENSE
README.md
logo.png
spacetimedb.bsatn.runtime.*.nupkg*
spacetimedb.bsatn.runtime.nuspec
*.xml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as an aside.. to we expect any of these files to actually appear down here?

Copy link
Collaborator Author

@jdetter jdetter Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they do appear due to dotnet restore. Essentially these files end up in the packages/spacetimedb.bsatn.runtime/vX.Y.Z directory. During the csharp release we copy the unversioned directory on top of the directory that contains these files.

Right now when we do the C# release we are just doing a git add on the packages directory, we could manually git add each individual file instead but I think it's possible that might be more fragile? I'm not sure, I'm not highly invested into either approach here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah that makes sense. Can we add something like this as a comment?

(that said, I'm surprised that things like LICENSE, logo.png, and README.md show up.. but it also doesn't matter too much)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the LICENSE, logo.png and README.md files show up because of how dotnet pack works, for some reason those files are included when packing 🤷 .

Loading