This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
[FEATURE] Failing if a nuget package with same version already exists #43
Labels
enhancement
New feature or request
Comments
Strange 🤔 with the change detection in place it shouldn't event try to push a package with same version could you provide the action log to get a better idea? |
Yeah, it doesn't push the package with same version. What I am asking for is, to throw an exception too, if the same version exists. That way, the pipeline would fail. You can hide this behind a flag so it remains compatible with earlier versions. |
+1 would be useful to fail whole build if we forget to increment version |
Would absolutely love this feature! |
luizbon
added a commit
to luizbon/publish-nuget
that referenced
this issue
Nov 5, 2020
Fix brandedoutcast#43 Adding the PackageVersion parameter to the pack command will make the output file to respect it.
Secondarily to @Marfusios's comment, it'd be great if we could get a version that runs on PRs (no publish) to check whether the version already exists. (May be a "no publish" feature request) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This usually happens when we already have a nuget package with the same version already hosted on nuget. AFAIK, since we are not allowed to "replace" a package on nuget, is it possible for you to fail instead? That way, if this is already part of a pipeline, the pipeline would actually fail and it would be a reminder for us to update the version.
The text was updated successfully, but these errors were encountered: