Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffb0bd3

Browse files
richardlaumarco-ippolito
authored andcommitted
build, tools: drop leading/ fromr2dir
The script is commented as removing `/home/dist/` part but the `cut`command is off by one and end up including the `/` character (so thatthe resulting string starts with `/`). When this is substituted into`s3://${cloudflare_bucket}/${r2dir}/${shafile}.asc` we end up with`//` (one from the template and one from the `r2dir`) which appearsto cause Cloudflare to create an extra top level `/` directory in thebucket.PR-URL:#53951Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Michaël Zasso <targos@protonmail.com>Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>
1 parente6ba121 commitffb0bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tools/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ sign() {
158158
# since the promotion script should take care of uploading them.
159159

160160
# Remove /home/dist/ part
161-
r2dir=$(echo"$shadir"| cut -c11-)
161+
r2dir=$(echo"$shadir"| cut -c12-)
162162

163163
# Copy SHASUMS256.txt.asc
164164
# shellcheck disable=SC2086,SC2029

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp