Skip to content

Commit

Permalink
fix: do not update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed May 29, 2023
1 parent 0b2330c commit 2730fc3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ replace_with="__version__ = \"$next_version\""
echo -e "${YELLOW}--->${COLOR_OFF} Updating ${INIT_PACKAGE_NAME}/__init__.py"
sed "s/$find_this/$replace_with/" ${INIT_PACKAGE_NAME}/__init__.py > $TMPFILE && mv $TMPFILE ${INIT_PACKAGE_NAME}/__init__.py

find_this="${PACKAGE_NAME}.git@$current_version"
replace_with="${PACKAGE_NAME}.git@$next_version"

echo -e "${YELLOW}--->${COLOR_OFF} Updating README.rst"
sed "s/$find_this/$replace_with/" README.rst > $TMPFILE && mv $TMPFILE README.rst

if [ -f docs/conf.py ]; then
echo -e "${YELLOW}--->${COLOR_OFF} Updating docs"
find_this="version = '${current_version}'"
Expand Down

0 comments on commit 2730fc3

Please sign in to comment.