rseng / zenodo-release

Automated releases to zenodo without granting admin access to webhooks
MIT License
10 stars 4 forks source link

Fix some issues. #9

Closed johrstrom closed 10 months ago

johrstrom commented 10 months ago

This fixes a few issues that have come about unexpectedly.

Fixes #8 (among others).

First, the POST url for new version has changed, but luckily they have it in the links section of the target deposit.

Second, the response code for depositing files seems to have changed from 200 to 201.

Lastly, the metadata publication_date format seems to have changed to only accept the date, not the time as well.

I'll add images here and there of the failures I've seen just so you know I'm not hallucinating.