Pull GitHub upload URL from the release created/being updated #6274
klaernie
started this conversation in
Ideas, Issue Triage, and General discussions
Replies: 1 comment 1 reply
-
|
That's a upload URL for the release itself, I think. The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From reading the docs for uploading assets it seems that the upload_url is given in the response to either the create release request or the get release request, but currently a user needs to set it manually if it is not for github.com.
To me it seems it would be nice if goreleaser would never require manual configuration, but would simply use the upload URL determined by the release it created or is updating.
The URL is given in uritemplate(RFC6570) form - but there is a go library for this https://github.com/yosida95/uritemplate.
Beta Was this translation helpful? Give feedback.
All reactions