You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In maven, we can publish the version with the suffix "SNAPSHOT" multiple times, because the "SNAPSHOT" in the version at the time of publishing will be replaced with the timestamp at the time of publishing, which ensures that the snapshot version can be published and updated repeatedly with the same version number.
However, when I tried to publish the snapshot version repeatedly, gradle (using the publishing plug-in) prompted me that gitea returned HTTP 400. I suspected that gitea might not correctly handle the snapshot rules of Maven package registry.
I can't register an account in TryGitea ( I can't receive the activation email ), so I can't test whether this problem will occur in TryGitea.
I used Maven to create a simple publishing example. You need to modify the corresponding content in pom.xml, and then execute ./mvnw deploy to execute the publishing operation.
Thank you, but I think I created a working example yesterday. Could you test the linked PR?
Sorry, it took some time, but I still failed to build the repair version. Can you provide the product? I will test it as soon as possible and give you feedback.
Description
In maven, we can publish the version with the suffix "SNAPSHOT" multiple times, because the "SNAPSHOT" in the version at the time of publishing will be replaced with the timestamp at the time of publishing, which ensures that the snapshot version can be published and updated repeatedly with the same version number.
However, when I tried to publish the snapshot version repeatedly, gradle (using the publishing plug-in) prompted me that gitea returned
HTTP 400
. I suspected that gitea might not correctly handle the snapshot rules of Maven package registry.Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/LamGC/2026d9db31cfaae09350d3669d3002de
Screenshots
Git Version
2.30.2
Operating System
Linux Debian 11
How are you running Gitea?
Docker-compose https://docs.gitea.io/zh-cn/install-with-docker-rootless/
Database
MySQL
The text was updated successfully, but these errors were encountered: