-
Notifications
You must be signed in to change notification settings - Fork 31
chore: .net publish script #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,13 +6,21 @@ | |
| <Nullable>enable</Nullable> | ||
| <LangVersion>default</LangVersion> | ||
| <PackageId>Alpha.Google.Cloud.SpannerLib.GrpcImpl</PackageId> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <Authors>Google</Authors> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+16
to
18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" Version="5.0.0.1" /> | ||
| <PackageReference Include="Alpha.Google.Cloud.SpannerLib.GrpcServer" Version="1.0.0-alpha.20260119112406" /> | ||
| <PackageReference Include="Alpha.Google.Cloud.SpannerLib.GrpcServer" Version="1.0.0-alpha.20260121173057" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,11 +8,19 @@ | |
| <PackageId>Alpha.Google.Cloud.SpannerLib.GrpcServer</PackageId> | ||
| <Title>SpannerLib Grpc Server</Title> | ||
| <Authors>Google</Authors> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+17
to
19
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" Version="5.0.0.1" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,13 +6,22 @@ | |
| <Nullable>enable</Nullable> | ||
| <LangVersion>default</LangVersion> | ||
| <PackageId>Alpha.Google.Cloud.SpannerLib.Grpc.V1</PackageId> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <Authors>Google</Authors> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+16
to
+18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Google.Cloud.Spanner.V1" Version="5.8.0" /> | ||
| <PackageReference Include="Google.Protobuf" Version="3.33.4" /> | ||
| <PackageReference Include="Grpc.Net.Client" Version="2.71.0" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,15 +6,23 @@ | |
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <PackageId>Alpha.Google.Cloud.SpannerLib.MockServer</PackageId> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <Authors>Google</Authors> | ||
| <LangVersion>default</LangVersion> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+17
to
19
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Google.Cloud.Spanner.Admin.Database.V1" Version="5.8.0" /> | ||
| <PackageReference Include="Google.Cloud.Spanner.V1" Version="5.8.0" /> | ||
| <PackageReference Include="Grpc.AspNetCore.Server" Version="2.71.0" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,8 +6,15 @@ | |
| <Nullable>enable</Nullable> | ||
| <LangVersion>default</LangVersion> | ||
| <PackageId>Alpha.Google.Cloud.SpannerLib.NativeImpl</PackageId> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <Authors>Google</Authors> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+16
to
18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
|
|
@@ -16,7 +23,8 @@ | |
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" Version="5.0.0.1" /> | ||
| <PackageReference Include="Alpha.Google.Cloud.SpannerLib.Native" Version="1.0.0-alpha.20260119112406" /> | ||
| <PackageReference Include="Alpha.Google.Cloud.SpannerLib.Native" Version="1.0.0-alpha.20260121173057" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,11 +9,19 @@ | |
| <PackageId>Alpha.Google.Cloud.SpannerLib.Native</PackageId> | ||
| <Title>.NET wrapper for the native SpannerLib shared library</Title> | ||
| <Authors>Google</Authors> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+18
to
20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" Version="5.0.0.1" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,13 +6,30 @@ | |
| <Nullable>enable</Nullable> | ||
| <LangVersion>default</LangVersion> | ||
| <PackageId>Alpha.Google.Cloud.SpannerLib</PackageId> | ||
| <Version>1.0.0-alpha.20260119112406</Version> | ||
| <Version>1.0.0-alpha.20260121173057</Version> | ||
| <PackageVersion>$(Version)</PackageVersion> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| <DebugType>portable</DebugType> | ||
| <Authors>Google</Authors> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
| <RepositoryUrl>https://github.com/googleapis/go-sql-spanner</RepositoryUrl> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| <Deterministic>true</Deterministic> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <IncludeSymbols>true</IncludeSymbols> | ||
| <SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
| <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
| </PropertyGroup> | ||
|
Comment on lines
+25
to
27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" Version="5.0.0.1" /> | ||
| <PackageReference Include="Google.Cloud.Spanner.V1" Version="5.8.0" /> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
dotnet buildcommand here is redundant. Thedotnet packcommand on line 17 will automatically build the project if it hasn't been built or if changes have occurred. Additionally, thebuild.shscript is executed on line 10, which presumably already handles the build process. Removing this line will make the script slightly more efficient and less confusing.