Skip to content
Extraits de code Groupes Projets
Valider df3a8e0b rédigé par mattab's avatar mattab
Parcourir les fichiers

Sync screenshot commands help

parent bb361c60
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -134,13 +134,15 @@ class SyncScreenshots extends ConsoleCommand
$output->writeln('<comment>If all downloaded screenshots are valid you may push them with these commands:</comment>');
$downloadToPath = $this->getDownloadToPath($repository);
$commands = "
# Starts here
cd $downloadToPath
git pull
git add .
git status
git commit -m 'UI tests: ...' # Write a good commit message, eg. 'Fixed UI test failure caused by change introduced in X which caused failure by Y'
echo -e '--> Check the commit above is correct... <---'
sleep 5
echo -e \"\n--> Check the commit above is correct... <---\n\"
sleep 7
git push";
if ($repository === 'piwik/piwik') {
......@@ -150,8 +152,8 @@ git pull
git add expected-ui-screenshots/
git status
git commit -m 'UI tests: ...' # Copy paste the good commit message
echo -e '--> Check the commit above is correct... <---'
sleep 5
echo -e \"\n--> Check the commit above is correct... <---\n\"
sleep 7
git push
cd ../../";
} else {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter