Sfoglia il codice sorgente

add some git comands

Karsten Böddeker 8 anni fa
parent
commit
7c990c7771
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      build.sh

+ 5 - 0
build.sh

@@ -280,9 +280,14 @@ if [ "${PUBLISH}" -eq "1" ]; then
 
 	# copy manifest and the build info file
 	progress "Copying manifest and build info file ..."
+	pushd ${OUTPUT_DIR} > /dev/null
+	git fetch
+	git checkout -q signing
+	git merge --ff-only origin/master
 	mkdir -p "${OUTPUT_DIR}/${VERSION}/sysupgrade"
 	cp -f "${MANIFEST_DIR}/${BRANCH}.manifest" "${OUTPUT_DIR}/${VERSION}/sysupgrade/"
 	cp -f "${build_info_path}" "${OUTPUT_DIR}/${VERSION}/${BUILD_INFO_FILENAME}"
+	popd > /dev/null #${OUTPUT_DIR}
 
 	# Update symlinks
 	progress "Update symlink for ${BRANCH}"