diff options
author | Michal Čihař <michal@cihar.com> | 2017-12-15 11:49:25 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-12-15 11:49:25 +0300 |
commit | 11d236b2ea8c4445e0a9b3a388d9a51e5275cfd1 (patch) | |
tree | e38cbcaa88a5740c3cce825d39698a62d4ad5810 /scripts | |
parent | 26b928904fb93277c30eb509623f625b7778e9e2 (diff) | |
parent | dc0e9a5c453bbc185cf8ddd152552604d6083b0b (diff) |
Merge branch 'QA_4_7'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-release.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/create-release.sh b/scripts/create-release.sh index b101c422aa..4baf86d1be 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -409,8 +409,15 @@ if [ $do_tag -eq 1 ] ; then echo "* Tagging release as $tagname" git tag -s -a -m "Released $version" $tagname $branch echo " Dont forget to push tags using: git push --tags" + echo "* Cleanup of $branch" + # Remove composer.lock, but we need to create fresh worktree for that + git worktree add --force $workdir $branch + cd $workdir git rm --force composer.lock git commit -s -m "Removing composer.lock" + cd ../.. + rm -rf $workdir + git worktree prune fi # Mark as stable release |