Skip to content

Commit

Permalink
Add changes before committing in bin/release script
Browse files Browse the repository at this point in the history
We update the `bin/release` script to add the changes before committing.
Otherwise, we don't commit the version bump made to the README and the
mix.exs file.
  • Loading branch information
germsvel committed Feb 12, 2021
1 parent 6330986 commit b044f43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ release_version="${2}"
sed -i '' "s/$previous_version/$release_version/" README.md
sed -i '' "s/$previous_version/$release_version/" mix.exs

git add .
git commit -m "Release version $release_version"
git tag "v$release_version"
git push origin "v$release_version"
Expand Down

0 comments on commit b044f43

Please sign in to comment.