Skip to content

Commit

Permalink
Fix bad bug in make_tag.sh
Browse files Browse the repository at this point in the history
Before, this could corrupt the git repo.
  • Loading branch information
Cornelius Weig committed Feb 25, 2019
1 parent cffdb9f commit ef89784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/make_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo -n "Please enter the new tag: "
read -r NEW_TAG


find . -type f -not \( -path './hack/*' -o -path './.github/*' -o -path './out/*' -o -path './doc/releases/*' \) -print0 |
find . -type f -not \( -path './.git/*' -o -path './hack/*' -o -path './.github/*' -o -path './out/*' -o -path './doc/releases/*' \) -print0 |
xargs -0 sed -i "s:${OLD_TAG}:${NEW_TAG}:g"

echo "Please check what has changed:"
Expand Down

0 comments on commit ef89784

Please sign in to comment.