mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix trailing slash bug in upload script
This commit is contained in:
@@ -2,7 +2,7 @@ import { AwsClient } from "aws4fetch";
|
||||
import { getBuild, getRelease, getSemver } from "../src/github";
|
||||
|
||||
const [tag] = process.argv.slice(2);
|
||||
const bucketUrl = new URL(env("AWS_BUCKET"), env("AWS_ENDPOINT"));
|
||||
const bucketUrl = new URL(`${env("AWS_BUCKET")}/`, env("AWS_ENDPOINT"));
|
||||
const aws = new AwsClient({
|
||||
accessKeyId: env("AWS_ACCESS_KEY_ID"),
|
||||
secretAccessKey: env("AWS_SECRET_ACCESS_KEY"),
|
||||
|
||||
Reference in New Issue
Block a user