Ввести регулярную публикацию отладочной версии #6

Merged
kornerr merged 45 commits from dbg into main 2025-11-12 04:39:21 +01:00
Showing only changes of commit aaf14933e4 - Show all commits

View File

@@ -2,6 +2,7 @@
SDIR=$(cd "$(dirname "$0")" ; pwd -P) SDIR=$(cd "$(dirname "$0")" ; pwd -P)
DST_DIR=/Users/mk/test-dist DST_DIR=/Users/mk/test-dist
MAIH_BRANCH=main
REPO_URL=https://github.com/kornerr/ru REPO_URL=https://github.com/kornerr/ru
TMP_BRANCHES=/tmp/dbg-branches TMP_BRANCHES=/tmp/dbg-branches
@@ -12,11 +13,13 @@ fi
# Pull the latest changes # Pull the latest changes
cd $DST_DIR cd $DST_DIR
git chckout -f $MAIN_BRANCH
git pull git pull
# Find out the latest commit in the whole repo # Find out the latest commit in the whole repo
git branch -av --sort=-committerdate
cmt=`git branch -av --sort=-committerdate | head -n1 | cut -d' ' -f4` cmt=`git branch -av --sort=-committerdate | head -n1 | cut -d' ' -f4`
echo "Latest commit: $cmt" echo "Latest commit: $cmt"
# Switch to the latest branch # Switch to the latest branch
git checkout $cmt #git checkout $cmt