fmt and build
This commit is contained in:
parent
998623f0c3
commit
40bf9ec7aa
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -149,7 +149,7 @@ export const upload = async (
|
||||
const [owner, repo] = config.github_repository.split("/");
|
||||
const { name, size, mime, data: body } = asset(path);
|
||||
const currentAsset = currentAssets.find(
|
||||
({ name: currentName }) => currentName == name.replace(' ','.')
|
||||
({ name: currentName }) => currentName == name.replace(" ", ".")
|
||||
);
|
||||
if (currentAsset) {
|
||||
console.log(`♻️ Deleting previously uploaded asset ${name}...`);
|
||||
@ -310,7 +310,7 @@ export const release = async (
|
||||
return release.data;
|
||||
} catch (error) {
|
||||
// presume a race with competing metrix runs
|
||||
console.log(error.response.data)
|
||||
console.log(error.response.data);
|
||||
console.log(
|
||||
`⚠️ GitHub release failed with status: ${
|
||||
error.status
|
||||
|
Loading…
x
Reference in New Issue
Block a user