Skip to content

Commit e5ed83b

Browse files
authored
Fix the missing package (#62)
* Fix the missing package * Fix * More fix * Fix * Remove readme from the package
1 parent b282211 commit e5ed83b

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
version=$(git describe --tags --abbrev=7 | tr -d "v")
2424
sed -i "s/<Version>0.0.0/<Version>$version/" src/SnD.ApiClient/SnD.ApiClient.csproj
2525
sed -i "s/<Version>0.0.0/<Version>$version/" src/SnD.ApiClient.Azure/SnD.ApiClient.Azure.csproj
26+
sed -i "s/<Version>0.0.0/<Version>$version/" src//SnD.ApiClient.Nexus.Generated/SnD.ApiClient.Nexus.Generated.csproj
2627
- name: Build NuGet for SnD.ApiClient
2728
working-directory: ./src/SnD.ApiClient
2829
env:
@@ -42,3 +43,12 @@ jobs:
4243
version=$(git describe --tags --abbrev=7 | tr -d "v")
4344
dotnet pack --configuration Release SnD.ApiClient.Azure.csproj
4445
dotnet nuget push "bin/Release/SnD.ApiClient.Azure.$version.nupkg" --source "github"
46+
- name: Build NuGet for SnD.ApiClient.Nexus.Generated
47+
working-directory: ./src/SnD.ApiClient.Nexus.Generated
48+
env:
49+
GITHUB_TOKEN: ${{ github.token }}
50+
run: |
51+
set -e
52+
version=$(git describe --tags --abbrev=7 | tr -d "v")
53+
dotnet pack --configuration Release SnD.ApiClient.Nexus.Generated.csproj
54+
dotnet nuget push "bin/Release/SnD.ApiClient.Nexus.Generated.$version.nupkg" --source "github"
File renamed without changes.

src/SnD.ApiClient.Nexus.Generated/SnD.ApiClient.Nexus.Generated.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@
22

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
5+
<LangVersion>latest</LangVersion>
56
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7+
<LangVersion>latest</LangVersion>
8+
<RootNamespace>SnD.ApiClient.Nexus.Generated</RootNamespace>
9+
<OutputType>Library</OutputType>
10+
<PackageId>SnD.ApiClient.Nexus.Generated</PackageId>
11+
<Authors>Sneaks&amp;Data</Authors>
12+
<Version>0.0.0</Version>
13+
<Company>Sneaks&amp;Data</Company>
14+
<RepositoryUrl>https://github.com/SneaksAndData/esd-services-api-client-dotnet</RepositoryUrl>
15+
<PackageDescription>Client libraries for Sneaks&amp;Data services</PackageDescription>
16+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
717
</PropertyGroup>
818

919
<ItemGroup>

0 commit comments

Comments
 (0)