File tree Expand file tree Collapse file tree 3 files changed +1
-2
lines changed
Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 6464 fileName : " *.zst"
6565 tarBall : false
6666 zipBall : false
67- out-file-path : " bkg"
6867
6968 - name : Dry run
7069 id : update
Original file line number Diff line number Diff line change 5656 fileName : " *.zst"
5757 tarBall : false
5858 zipBall : false
59- out-file-path : " bkg"
6059
6160 - name : Dry run
6261 id : update
Original file line number Diff line number Diff line change 88root=" $1 "
99[[ -n " $root " && ! " ${root: 0: 2} " =~ -(m| d) ]] && shift || root=" ."
1010[ -d " $root /.git" ] || { gh auth status & > /dev/null && gh repo clone " ${GITHUB_OWNER:- ipitio} /${GITHUB_REPO:- backage} " " $root " -- --depth=1 -b " $GITHUB_BRANCH " --single-branch || git clone --depth=1 -b " $GITHUB_BRANCH " --single-branch " https://$( [ -n " $GITHUB_TOKEN " ] && echo " $GITHUB_TOKEN @" || echo " " ) github.com/${GITHUB_OWNER:- ipitio} /${GITHUB_REPO:- backage} .git" " $root " ; }
11+ find . -maxdepth 1 -type f -name ' *.zst' -exec mv {} " $root " / \; 2> /dev/null || true
1112pushd " $root " || exit 1
1213pushd src || exit 1
1314source bkg.sh
You can’t perform that action at this time.
0 commit comments