Add "latest" capability #1

Open
opened 2022-10-17 02:46:42 +00:00 by zico · 0 comments
Owner

Gitea package registry only works with package version, and each version can only have one file. We can work around this by having a latest package, and make the program delete and then reupload the binary to the latest version each time the script is run.

Should be resonably simple, make a delete http request on latest, then follow up with a put request as already in the code.

Gitea package registry only works with package version, and each version can only have one file. We can work around this by having a `latest` package, and make the program delete and then reupload the binary to the `latest` version each time the script is run. Should be resonably simple, make a `delete` http request on `latest`, then follow up with a `put` request as already in the code.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: zico/gitea-package-client#1
No description provided.