Adding set -e on merge script

I had some cases where I had pending changes on my local copy and the script silent failed.
This will make sure people using this script would notice any failure during a merge
This commit is contained in:
Clebert Suconic 2016-07-28 15:23:57 -04:00
parent c530ce1034
commit f19a030cc4
1 changed files with 3 additions and 1 deletions

View File

@ -16,9 +16,11 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# Setting the script to fail if anything goes wrong
set -e
# Use this to simplify the rebasing of PRs. PRs will be rebased during the merge on this process. # Use this to simplify the rebasing of PRs. PRs will be rebased during the merge on this process.
# use: ./rebase-PR <PRID> textual description # use: ./merge-PR <PRID> textual description
# this script assumes the following remote entries on your config # this script assumes the following remote entries on your config
# #