Skip to content

Commit

Permalink
Clean vendor before release
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed Dec 16, 2019
1 parent 081efd7 commit da99360
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/release
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ read -p "New version> " new_version

sed -E -i "" "s/(.*Version:) .*/\1 ${new_version}/" $version_file

git commit -m "Release v${new_version}" $version_file
rm -rf composer.lock vendor/
composer install --no-dev

git add "$version_file" vendor
git commit -m "Release v${new_version}"
git tag -a "v${new_version}" -m "Release v${new_version}"

git push origin master:master
Expand Down

0 comments on commit da99360

Please sign in to comment.