Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-release.sh7
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