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

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

View File

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