address asset upload warning (#134)

* bump version

* address asset upload warning

* refactor to new octokit api, work around release asset upload api

* format upload url

* unminify to debug

* try alt constructor

* utilize formatted upload url

* authorize upload

* pass token explicitly

* address conflicting uploads

* remove debugging artifacts
This commit is contained in:
Doug Tangren 2021-08-08 00:28:01 -04:00 committed by GitHub
parent 59c3b48916
commit 003621c2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 273 additions and 218 deletions

View file

@ -18,6 +18,14 @@ export interface Config {
input_target_commitish?: string;
}
export const uploadUrl = (url: string): string => {
const templateMarkerPos = url.indexOf("{");
if (templateMarkerPos > -1) {
return url.substring(0, templateMarkerPos);
}
return url;
};
export const releaseBody = (config: Config): string | undefined => {
return (
(config.input_body_path &&