Files
acrn-hypervisor/scripts/pullsource.sh
David B. Kinder 2e6d469c16 doc: update build process to get RC_VERSION
Doc version tracking with acrn-hypervisor version now to be
MAJOR_VERSION . MINOR_VERSION . RC_VERSION

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2018-03-08 22:44:04 -08:00

26 lines
492 B
Bash
Executable File

#!/bin/bash
# pull fresh copies of the ACRN source for use by doxygen
if [ ! -d "../acrn-hypervisor" ]; then
echo Repo for acrn-hypervisor is missing.
exit -1
fi
if [ ! -d "../acrn-devicemodel" ]; then
echo Repo for acrn-devicemodel is missing.
exit -1
fi
cd ../acrn-hypervisor
git checkout master;
git fetch upstream
git merge upstream/master
git push origin master
cd ../acrn-devicemodel
git checkout master;
git fetch upstream
git merge upstream/master
git push origin master