Skip to content

Commit

Permalink
Don't use [ and test
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Oct 8, 2024
1 parent 4ba860f commit cf15d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release-scripts/bump_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for i in $(ls $CHECKOUT_DIR); do
VERSION=$(python $SCRIPT_DIR/versiontool.py bumpmicro "$old_version")
sed -i "s/$old_version/$VERSION/g" $init_file
sed -i "s/$old_version/$VERSION/g" pyproject.toml
[ test -f setup.cfg ] && sed -i "s/$old_version/$VERSION/g" setup.cfg
[ -f setup.cfg ] && sed -i "s/$old_version/$VERSION/g" setup.cfg

else
popd
Expand Down
2 changes: 1 addition & 1 deletion release-scripts/create_release_commits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for i in $(ls $CHECKOUT_DIR); do
VERSION=$(python $SCRIPT_DIR/versiontool.py undev "$old_version")
sed -i "s/$old_version/$VERSION/g" $init_file
sed -i "s/$old_version/$VERSION/g" pyproject.toml
[ test -f setup.cfg ] && sed -i "s/$old_version/$VERSION/g" setup.cfg
[ -f setup.cfg ] && sed -i "s/$old_version/$VERSION/g" setup.cfg

else
popd
Expand Down

0 comments on commit cf15d1d

Please sign in to comment.