File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,17 @@ def skip_upload(
62
62
# PyPI / TestPyPI / GCP Artifact Registry
63
63
or (status == 400 and any ("already exist" in x for x in [reason , text ]))
64
64
# Nexus Repository OSS (https://www.sonatype.com/nexus-repository-oss)
65
- or (status == 400 and any ("updating asset" in x for x in [reason , text ]))
65
+ or (
66
+ status == 400
67
+ and (
68
+ any ("updating asset" in x for x in [reason , text ])
69
+ or ("cannot be updated" in text )
70
+ )
71
+ )
66
72
# Artifactory (https://jfrog.com/artifactory/)
67
73
or (status == 403 and "overwrite artifact" in text )
68
74
# Gitlab Enterprise Edition (https://about.gitlab.com)
69
75
or (status == 400 and "already been taken" in text )
70
- # Sonatype Nexus Repository
71
- # (https://help.sonatype.com/en/pypi-repositories.html)
72
- or (status == 400 and "cannot be updated" in text )
73
76
)
74
77
75
78
You can’t perform that action at this time.
0 commit comments