File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ git checkout master
5050git pull origin master
5151check_conflict
5252echo " # Now merging ..."
53- git merge --squash -X theirs $lastest_submitted_tag_name
53+ git merge --allow-unrelated-histories -- squash -X theirs $lastest_submitted_tag_name
5454echo " # Now deploy to origin : $release_tag_name ..."
5555git add . && git commit -m " [Release $release_tag_name ]" && git push origin master
5656git checkout $current_branch
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ git checkout master
1919git pull origin master
2020check_conflict
2121echo "# Now merging ..."
22- git merge --squash -X theirs $lastest_submitted_tag_name
22+ git merge --allow-unrelated-histories -- squash -X theirs $lastest_submitted_tag_name
2323echo "# Now deploy to origin : $release_tag_name ..."
2424git add . && git commit -m "[Release $release_tag_name]" && git push origin master
2525git checkout $current_branch
You can’t perform that action at this time.
0 commit comments