Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Exclude bump_version_devtool.sh from recursive replace
Browse files Browse the repository at this point in the history
  • Loading branch information
cronicc committed Mar 28, 2022
1 parent ac55100 commit 41e9be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bump_version_devtool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ set -euo pipefail
zend_version_old="3.0.3"
zend_version_new="3.1.0"

swing_version_old="1.0.6"
swing_version_old="1.0.5"
swing_version_new="1.0.6"

# bump zend version
sed -i "s/${zend_version_old//./\\.}/${zend_version_new//./\\.}/g" .travis.yml

# bump swing version
grep -lr --exclude-dir=.git --exclude-dir=docs "${swing_version_old//./\\.}" | xargs sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g"
grep -lr --exclude-dir=.git --exclude-dir=docs --exclude-dir=scripts "${swing_version_old//./\\.}" | xargs sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g"

# create release notes
new_notes="docs/Release_${swing_version_new}.md"
Expand Down

0 comments on commit 41e9be4

Please sign in to comment.