-
Notifications
You must be signed in to change notification settings - Fork 27
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
409 while uploading new snapshots #35
Comments
Yeah I'm seeing the same. Currently the only workaround I have is to delete the package in the workflow prior to the deployment. |
My guess is that gradle is working around this by deleting the package. Technically we could do the same, though I'm hesitant because |
@djspiewak GitHub Packages now supports snapshots: |
Pending a fix for: djspiewak/sbt-github-packages#35 or a good release design.
It will be very much appreciated :D
@buggtb I'm curious, did you have the need to delete more than one package? Have you somehow leveraged the artifact names and URLs generation in order to know which packages to delete? |
After some investigation I found this answer that states
My fear is that there is support in GH packages but the way sbt creates the maven-xml metadata is wrong. The comment author has uploaded a pom with the following details
while the ones that I'm updating to GH packages though sbt have this format in the main XML node and no metadata element at all
So it might be sbt and not sbt-github-packages related [EDIT] This might be related |
Hi, I'm migrating a project from gradle to sbt and I noticed one strange thing. I'm not able to publish the snapshot artifact more than once (for the same snapshot version). It was possible with gradle, but with sbt-github-packages once uploaded I'm getting:
any ideas on how this could be fixed?
The text was updated successfully, but these errors were encountered: