Skip to content

Commit

Permalink
Restore publishing of the docsite during releases
Browse files Browse the repository at this point in the history
Modern bash requires that the regex not be surrounded in quotes, but we don't need the regex anyway.

Testing Done:
manual test publishes.

Reviewed at https://rbcommons.com/s/twitter/r/4140/
  • Loading branch information
stuhood committed Aug 9, 2016
1 parent f28482c commit d213627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-support/bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function tag_release() {

function publish_docs_if_master() {
branch=$(get_branch)
if [[ $branch =~ "^master$" ]]; then
if [[ "${branch}" == "master" ]]; then
${ROOT}/build-support/bin/publish_docs.sh -p -y
else
echo "Skipping docsite publishing on non-master branch (${branch})."
Expand Down

0 comments on commit d213627

Please sign in to comment.