Skip to content
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

fix release pipeline; Drop setup-nuget action; use ubuntu instead of windows; don't release as pre-release although we use System.Text v9 #12

Merged
merged 10 commits into from
Oct 10, 2024

Conversation

hf-kklein
Copy link
Contributor

No description provided.

Konstantin and others added 10 commits October 10, 2024 18:36
maybe fixes
>  Error: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "System.Text.Json [9.0.0-rc.2.24473.5, )" or update the version field in the nuspec. [D:\a\malo-ident-net-models\malo-ident-net-models\MaLoIdentModels\MaLoIdentModels\MaLoIdentModels.csproj]

I want to release as real release, no pre-release.
maybe fixes
>  Error: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "System.Text.Json [9.0.0-rc.2.24473.5, )" or update the version field in the nuspec. [D:\a\malo-ident-net-models\malo-ident-net-models\MaLoIdentModels\MaLoIdentModels\MaLoIdentModels.csproj]

I want to release as real release, no pre-release.

Co-authored-by: Konstantin <[email protected]>
Error: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "System.Text.Json [9.0.0-rc.2.24473.5, )" or update the version field in the nuspec. [D:\a\malo-ident-net-models\malo-ident-net-models\MaLoIdentModels\MaLoIdentModels\MaLoIdentModels.csproj]
xxx
Run dotnet nuget push ./bin/Release/*.nupkg --api-key $NUGET_ORG_PUSH_TOKEN --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
  dotnet nuget push ./bin/Release/*.nupkg --api-key $NUGET_ORG_PUSH_TOKEN --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    ACTIONS_ALLOW_UNSECURE_COMMANDS: true
    DOTNET_ROOT: C:\Program Files\dotnet
    GIT_TAG_NAME: 0.2.6
    NUGET_ORG_PUSH_TOKEN: ***
error: Source parameter was not specified.
@hf-kklein hf-kklein changed the title fix release pipeline fix release pipeline; Drop setup-nuget action; use ubuntu instead of windows; don't release as pre-release although we use System.Text v9 Oct 10, 2024
@hf-kklein hf-kklein marked this pull request as ready for review October 10, 2024 17:18
@hf-kklein hf-kklein merged commit 5e36f02 into main Oct 10, 2024
8 checks passed
@hf-kklein hf-kklein deleted the fix-buildpipeline branch October 10, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant