blob: b451f5fc94c3039c99157566687f1598df3d7097 [file] [log] [blame]
Fatih Degirmencia2beeb22018-12-10 10:57:50 -08001#!/bin/bash
2set -o errexit
3set -o nounset
4set -o pipefail
5
6cd $WORKSPACE
7git checkout $UPSTREAM_BRANCH -q
8git pull -q
9echo "Commit is"
10echo "-------------------------------------------"
11git show -s
12echo "-------------------------------------------"
13echo "Adding new remote for sync"
14git remote add nordix $NORDIX_REMOTE
15echo "-------------------------------------------"
16git remote -v
17echo "-------------------------------------------"
18echo "Pushing changes to Nordix BRANCH"
19git push nordix $BRANCH