Skip to content

Commit

Permalink
Adjust quoting behavior in update-version.sh
Browse files Browse the repository at this point in the history
Ensure `update-version.sh` also double quotes versions in
`docs/source/conf.py` to avoid future style check failures during
updates.
  • Loading branch information
jakirkham authored Dec 2, 2023
1 parent c6af02e commit 249a179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function sed_runner() {
}

# RTD update
sed_runner 's/version = .*/version = '"'${NEXT_SHORT_TAG}'"'/g' docs/source/conf.py
sed_runner 's/release = .*/release = '"'${NEXT_FULL_TAG}'"'/g' docs/source/conf.py
sed_runner 's/version = .*/version = "'"${NEXT_SHORT_TAG}"'"/g' docs/source/conf.py
sed_runner 's/release = .*/release = "'"${NEXT_FULL_TAG}"'"/g' docs/source/conf.py

# Centralized version file update
echo "${NEXT_FULL_TAG}" > VERSION
Expand Down

0 comments on commit 249a179

Please sign in to comment.