Skip to content

Commit 33d97fa

Browse files
committed
wip
1 parent 3696476 commit 33d97fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/redirector.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
for file in $RENAMED_FILES; do
3232
old=$(echo "$file" | cut -d',' -f1)
3333
old="${old#source}"
34-
old="${old%.txt}"
34+
old="${old%.txt}/"
3535
new=$(echo "$file" | cut -d',' -f2)
3636
new="${new#source}"
37-
new="${new%.txt}"
38-
new_redirects+="<li>[*-master]: \$\{prefix\}/\$\{version\}$old -> \$\{base\}/\$\{version\}$new</li>"
37+
new="${new%.txt}/"
38+
new_redirects+="<li>[*-master]: ${prefix}/\$\{version\}$old -> \$\{base\}/\$\{version\}$new</li>"
3939
done
4040
echo $new_redirects
4141
#echo "staging_links=${new_links}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)