Skip to content

Commit

Permalink
[docker][fix] Use released 2.0.0 version in docker-compose (#787)
Browse files Browse the repository at this point in the history
* fix version in docker-compose

* only bump files under version control
  • Loading branch information
aquamatthias committed Apr 13, 2022
1 parent 0a27e8a commit 3ddd92a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ fi

bump_from=$1
bump_to=$2
find resotolib \
resotocore \
resotoworker \
resotoshell \
resotometrics \
plugins \
-name setup.py -o \
-name __init__.py -o \
-name requirements.txt \
git ls-files | grep \
-e setup.py \
-e __init__.py \
-e requirements.txt \
| xargs grep "$bump_from" \
| cut -d : -f 1 \
| xargs sed -i -e "s/$bump_from/$bump_to/g"
Expand Down

0 comments on commit 3ddd92a

Please sign in to comment.