Fix deleting files on release when they are renamed
[MAILPOET-2237]
This commit is contained in:
@ -473,7 +473,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
->stopOnFail()
|
->stopOnFail()
|
||||||
->dir('.mp_svn')
|
->dir('.mp_svn')
|
||||||
->exec('cp -R ../plugin_repository/assets/newsletter-templates/* assets/newsletter-templates')
|
->exec('cp -R ../plugin_repository/assets/newsletter-templates/* assets/newsletter-templates')
|
||||||
->exec("svn st | grep ^! | awk '$awkCmd' | xargs $xargsFlag svn rm")
|
->exec("svn st | grep ^! | awk '$awkCmd' | xargs $xargsFlag svn rm --keep-local")
|
||||||
->exec('svn add --force * --auto-props --parents --depth infinity -q')
|
->exec('svn add --force * --auto-props --parents --depth infinity -q')
|
||||||
->exec('svn commit -m "Push Templates for test"')
|
->exec('svn commit -m "Push Templates for test"')
|
||||||
->run();
|
->run();
|
||||||
@ -554,7 +554,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
// Set SVN repo as working directory
|
// Set SVN repo as working directory
|
||||||
->dir($svn_dir)
|
->dir($svn_dir)
|
||||||
// Remove files from SVN repo that have already been removed locally
|
// Remove files from SVN repo that have already been removed locally
|
||||||
->exec("svn st | grep ^! | awk '$awkCmd' | xargs $xargsFlag svn rm")
|
->exec("svn st | grep ^! | awk '$awkCmd' | xargs $xargsFlag svn rm --keep-local")
|
||||||
// Recursively add files to SVN that haven't been added yet
|
// Recursively add files to SVN that haven't been added yet
|
||||||
->exec("svn add --force * --auto-props --parents --depth infinity -q");
|
->exec("svn add --force * --auto-props --parents --depth infinity -q");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user