Azure Devops:不可能再次发布已删除的工件

发布于 2025-02-12 08:03:33 字数 1170 浏览 2 评论 0 原文

我在饲料中有一个已删除的伪影(在回收箱中没有更可见的,因为被删除了):

我不能重新发布相同的文物,因为它似乎仍然存在于feed中:

“

”在此处输入图像描述

我也尝试创建一个新提要:

我试图在新提要中发布相同的伪像,但是我有以下错误消息:

您能告诉我如何重新发布工件?

问候,

Yannick

I have a deleted artifact in a feed (and no more visible in the recycle bin, because permently deleted) :

deleted artifact

And I can't republish the same artifact, because It seems still present in the feed :

artifact message

enter image description here

I tried also to create a new feed :

New empty feed

And I tried to publish the same artifact in the new feed, but I have the following error message :

New Feed

Upstreams(default)

Could you tell me how can I republish the artifact please?

Regards,

Yannick

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甩你一脸翔 2025-02-19 08:03:34

azure devops:不可能再次发布已删除的文物

这是默认行为。

我了解这对您来说是多么令人沮丧。但这就是Azure工件故意设计的,以确保构建结果的正确性。

检查文档:

一旦您将软件包的特定版本发布到feed,
版本号是永久保留的。您不能上传更新的
具有相同版本号的修订包,或删除它,
在同一版本上上传新软件包。

您可以检查 a>出于此设计的原因。

为了解决此问题,您可以尝试使用另一个版本发布工件。如果您不想更改版本,则需要将此工件上传到另一个feed,并将此提要添加为包装源。

Azure DevOps : not possible to publish again a deleted artifact

This is the default behavior.

I understand how frustrating this is for you. But this is what Azure Artifacts deliberately designed to ensure the correctness of the build results.

Check the document: Understand immutability of packages.

Once you publish a particular version of a package to a feed, that
version number is permanently reserved. You cannot upload a newer
revision package with that same version number, or delete it and
upload a new package at the same version.

You could check my previous thread for the reason for this design.

To resolve this issue, you could try to publish the artifact with another version. If you do not want to change the version, you need to upload this artifact to another feed, and add this feed as package source.

太傻旳人生 2025-02-19 08:03:34

如果是项目供稿,那么您可以删除整个项目,或重命名项目和Feed名称,

如果是组织Feed,则可以删除整个组织或重命名。

我只会建议此选项,如果它是一个新项目或组织

If it's a Project Feed, then you can delete your entire project or rename the project and Feed name

If it's an Organization Feed, then you can delete your entire organization or rename.

I'll only advise this option if it's a new project or organization

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文