Skip to content

Commit

Permalink
fix(CI): affiche mieux les diff dans le script de déploiement. ref #1063
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Mar 1, 2024
1 parent fa21009 commit 6f014b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy_prod.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

initial_branch=`git branch --show-current`
git_diff_between_master_and_master_clever=`git log master_clever..master --oneline`

# Ensure working directory is clean
if ! git diff-index --quiet HEAD; then
Expand All @@ -17,6 +16,7 @@ git pull origin master
git checkout master_clever
git pull origin master_clever
echo "====="
git_diff_between_master_and_master_clever=`git log master_clever..master --oneline`
echo "$git_diff_between_master_and_master_clever"
echo "====="
git rebase master
Expand Down

0 comments on commit 6f014b3

Please sign in to comment.