Skip to content

Commit

Permalink
[BEAM-12777] Create symlink for current directory (apache#17105)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeuralBit authored Mar 17, 2022
1 parent 9096f96 commit 280099a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions release/src/main/scripts/build_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,15 @@ if [[ $confirmation = "y" ]]; then

echo "..........Copying generated javadoc into beam-site.........."
cp -r ${GENERATE_JAVADOC} javadoc/${RELEASE}
cp -r ${GENERATE_JAVADOC} javadoc/current
# Update current symlink to point to the latest release
unlink javadoc/current
ln -s javadoc/${RELEASE} javadoc/current

echo "............Copying generated pydoc into beam-site.........."
cp -r ${GENERATED_PYDOC} pydoc/${RELEASE}
cp -r ${GENERATED_PYDOC} pydoc/current
# Update current symlink to point to the latest release
unlink pydoc/current
ln -s pydoc/${RELEASE} pydoc/current

git add -A
git commit -m "Update beam-site for release ${RELEASE}." -m "Content generated from commit ${RELEASE_COMMIT}."
Expand Down

0 comments on commit 280099a

Please sign in to comment.