Skip to content

Commit 6714eff

Browse files
committed
Auto merge of rust-lang#7857 - flip1995:fix_deploy, r=xFrednet
Fix deploy script I broke this script in rust-lang#7502, so that the stable symlink isn't generated anymore. This reverts this change. changelog: none
2 parents 2ba1a6a + 96126e7 commit 6714eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ cp util/gh-pages/lints.json out/master
1313
if [[ -n $TAG_NAME ]]; then
1414
echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
1515
cp -Tr out/master "out/$TAG_NAME"
16-
ln -sf "$TAG_NAME" out/stable
16+
rm -f out/stable
17+
ln -s "$TAG_NAME" out/stable
1718
fi
1819

1920
if [[ $BETA = "true" ]]; then

0 commit comments

Comments
 (0)