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

Only allow overwrites for pre release packages #764

Open
GuidoLeibbrand opened this issue Mar 22, 2023 · 0 comments
Open

Only allow overwrites for pre release packages #764

GuidoLeibbrand opened this issue Mar 22, 2023 · 0 comments

Comments

@GuidoLeibbrand
Copy link

Problem

Currently, there is only the setting "AllowPackageOverwrites" in which you can generally set whether a package can be overwritten.

However, there is no option to allow overwriting only for pre-released packages.
In our environment, we also create SNAPSHOT versions.
For example: 1.1.0-SNAPSHOT.
The SNAPSHOT version can be built as often as you like and contains the latest git version for the Version.

Solution

In addition to the option AllowPackageOverwrites we need the option AllowPreReleasePackageOverwrites.
So we can explicitly control if a "pre release" package may be overwritten or not.

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

No branches or pull requests

1 participant