Skip to content

Commit

Permalink
[hotfix][doc] Override env.flink_branch for 2.0-preview1
Browse files Browse the repository at this point in the history
This is a rc branch, but we should ensure that the url for this version doesn't contain rc suffix. Otherwise, all link will be broken.
  • Loading branch information
reswqa committed Oct 14, 2024
1 parent 0fc05e2 commit 3221b4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
run: |
currentBranch=$(git branch --show-current)
echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV}
if [ "${currentBranch}" = "release-2.0-preview1-rc1" ]; then
echo "flink_branch=release-2.0-preview1" >> ${GITHUB_ENV}
else
echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV}
if [ "${currentBranch}" = "master" ]; then
echo "flink_alias=release-2.0" >> ${GITHUB_ENV}
Expand Down

0 comments on commit 3221b4f

Please sign in to comment.