diff options
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 35d85d4eb5..cdd52b471f 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -407,8 +407,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 |