Skip to content
Merged
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
10 changes: 10 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
version=$(git describe --tags --abbrev=7 | tr -d "v")
sed -i "s/<Version>0.0.0/<Version>$version/" src/SnD.ApiClient/SnD.ApiClient.csproj
sed -i "s/<Version>0.0.0/<Version>$version/" src/SnD.ApiClient.Azure/SnD.ApiClient.Azure.csproj
sed -i "s/<Version>0.0.0/<Version>$version/" src//SnD.ApiClient.Nexus.Generated/SnD.ApiClient.Nexus.Generated.csproj
- name: Build NuGet for SnD.ApiClient
working-directory: ./src/SnD.ApiClient
env:
Expand All @@ -42,3 +43,12 @@ jobs:
version=$(git describe --tags --abbrev=7 | tr -d "v")
dotnet pack --configuration Release SnD.ApiClient.Azure.csproj
dotnet nuget push "bin/Release/SnD.ApiClient.Azure.$version.nupkg" --source "github"
- name: Build NuGet for SnD.ApiClient.Nexus.Generated
working-directory: ./src/SnD.ApiClient.Nexus.Generated
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
set -e
version=$(git describe --tags --abbrev=7 | tr -d "v")
dotnet pack --configuration Release SnD.ApiClient.Nexus.Generated.csproj
dotnet nuget push "bin/Release/SnD.ApiClient.Nexus.Generated.$version.nupkg" --source "github"
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<RootNamespace>SnD.ApiClient.Nexus.Generated</RootNamespace>
<OutputType>Library</OutputType>
<PackageId>SnD.ApiClient.Nexus.Generated</PackageId>
<Authors>Sneaks&amp;Data</Authors>
<Version>0.0.0</Version>
<Company>Sneaks&amp;Data</Company>
<RepositoryUrl>https://github.com/SneaksAndData/esd-services-api-client-dotnet</RepositoryUrl>
<PackageDescription>Client libraries for Sneaks&amp;Data services</PackageDescription>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading