blob: b451f5fc94c3039c99157566687f1598df3d7097 [file] [log] [blame]
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
cd $WORKSPACE
git checkout $UPSTREAM_BRANCH -q
git pull -q
echo "Commit is"
echo "-------------------------------------------"
git show -s
echo "-------------------------------------------"
echo "Adding new remote for sync"
git remote add nordix $NORDIX_REMOTE
echo "-------------------------------------------"
git remote -v
echo "-------------------------------------------"
echo "Pushing changes to Nordix BRANCH"
git push nordix $BRANCH