mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
chore: debug
This commit is contained in:
parent
a99ac77932
commit
dbb8e61d45
22 changed files with 530 additions and 3 deletions
3
dist/utils/getGithubRelease.js
vendored
3
dist/utils/getGithubRelease.js
vendored
|
@ -1,3 +1,4 @@
|
|||
import { nanoid } from 'nanoid';
|
||||
import fetch from 'node-fetch';
|
||||
import { getArchitecture } from './getAsset.js';
|
||||
export default async (version, token, fullRepository, customDownloadUrl, miscTestBuilds) => {
|
||||
|
@ -12,7 +13,7 @@ export default async (version, token, fullRepository, customDownloadUrl, miscTes
|
|||
if (customDownloadUrl) {
|
||||
return {
|
||||
name: 'custom',
|
||||
version: version + Math.random().toString(36).slice(-8),
|
||||
version: `${version}-${nanoid(10)}`,
|
||||
html_url: customDownloadUrl,
|
||||
tag_name: 'custom',
|
||||
assets: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue