Skip to content

Commit

Permalink
Auto merge of rust-lang#7857 - flip1995:fix_deploy, r=xFrednet
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Oct 21, 2021
2 parents 2ba1a6a + 96126e7 commit 6714eff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ cp util/gh-pages/lints.json out/master
if [[ -n $TAG_NAME ]]; then
echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
cp -Tr out/master "out/$TAG_NAME"
ln -sf "$TAG_NAME" out/stable
rm -f out/stable
ln -s "$TAG_NAME" out/stable
fi

if [[ $BETA = "true" ]]; then
Expand Down

0 comments on commit 6714eff

Please sign in to comment.