* update-stable.sh: support wrapfs-latest repo.
LIST=`echo wrapfs-2* wrapfs-3.[0-9] wrapfs-3.[0-9][0-9] wrapfs-4.[0-9] wrapfs-4.[0-9][0-9]`
#LIST=`echo wrapfs-4.1[1-9] wrapfs-4.2[0-9]`
-#LIST="$LIST "`echo wrapfs-5.[0-9] wrapfs-5.[0-9][0-9]`
+LIST="$LIST "`echo wrapfs-5.[0-9] wrapfs-5.[0-9][0-9]`
if test -z "$1" ; then
echo "Usage: $0 [+l] cmd [args...]"
+2019-12-16 Erez Zadok <ezk@fsl.cs.sunysb.edu>
+
+ * git-push2.sh: don't force push. Bad idea.
+
+ * update-stable.sh: support wrapfs-latest repo.
+
2019-12-08 Erez Zadok <ezk@fsl.cs.sunysb.edu>
* restore-kconfig.sh: copy saved kernel configs from CVSROOT/wrapfs/
echo '######################################################################'
echo "DIR: $d"
cd "$d"
- git push --all || git push -f --all
- git push --tags || git push -f --tags
+ git push --all
+ git push --tags
)
done
fi
#echo THIS_REPO:$THIS_REPO
case "$THIS_REPO" in
- 2.6.* | 3.* | 4.* | 5.* ) ;;
- latest ) echo latest branch not supported yet
+ 2.6.* | 3.* | 4.* | 5.* )
+ BRANCH="linux-${THIS_REPO}.y"
+ ;;
+ latest )
+ BRANCH="master"
exit 1
;;
* ) echo This repo is unknown: $THIS_REPO
runcmd git checkout master
runcmd git describe
-runcmd git pull korg linux-${THIS_REPO}.y
-runcmd git pull --tags korg linux-${THIS_REPO}.y
+
+runcmd git pull korg ${BRANCH}
+runcmd git pull --tags korg ${BRANCH}
runcmd git describe
runcmd git checkout wrapfs