Update .gitignore and NuGet config for native and Python artifacts
- Add .dotnet/, NuGet, and Python SDK build outputs to .gitignore - Add .nuget/NuGet/NuGet.Config for local NuGet sources - Change NuGet artifact extraction path in release workflow - Update SmbCloud.Cli.csproj to adjust native file packing - Add .venv/ to Python SDK .gitignore
keypair34 committed
May 2, 2026 at 23:46 UTC
cf78bd81e2af95409cd3c4e84773d91354f44ccc
5 files changed
+23
-3
.github/workflows/release-nuget.yml
+1
-1
@@ -148,7 +148,7 @@ jobs:
148
uses: actions/download-artifact@v7
149
with:
150
pattern: nuget-native-*
151
- path: nuget/smbcloud-cli
151
+ path: nuget/smbcloud-cli/native
152
merge-multiple: true
153
154
- name: Setup .NET SDK
.gitignore
+14
-1
@@ -5,10 +5,23 @@
5
.zed
6
.vscode
7
8
+# Local .NET CLI state
9
+/.dotnet/
10
+
11
# Secrets
12
.env
13
+
14
# Generated npm release artifacts
15
/npm/cli-*/
12
-# Generated PyPI release artifacts
16
+
17
+# Generated Python release artifacts
18
/pypi/dist/
19
/pypi/.venv/
20
+/sdk/python/dist/
21
+/sdk/python/.venv/
22
+
23
+# Generated NuGet release artifacts
24
+/nuget/dist/
25
+/nuget/smbcloud-cli/bin/
26
+/nuget/smbcloud-cli/obj/
27
+/nuget/smbcloud-cli/native/
.nuget/NuGet/NuGet.Config
new
+6
@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<configuration>
3
+ <packageSources>
4
+ <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5
+ </packageSources>
6
+</configuration>
\ No newline at end of file
nuget/smbcloud-cli/SmbCloud.Cli.csproj
+1
-1
@@ -21,6 +21,6 @@
21
22
<ItemGroup>
23
<None Include="README.md" Pack="true" PackagePath="" />
24
- <None Include="native/**/*" Pack="true" PackagePath="tools/$(TargetFramework)/any/native/%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" Visible="false" />
24
+ <Content Include="native/**/*" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" Pack="false" Visible="false" />
25
</ItemGroup>
26
</Project>
sdk/python/.gitignore
+1
@@ -1 +1,2 @@
1
dist/
2
+.venv/