Compare commits

..

3 Commits
0.28 ... 0.28.1

Author SHA1 Message Date
c08f82044c commitpkg: only run braid update if push is success 2022-06-06 18:05:10 +02:00
74af21ca25 batchpkg: drop -u arg on move 2022-06-06 12:44:21 +02:00
e3b8439b04 commitpkg: fix update msg 2022-06-06 01:35:24 +02:00
2 changed files with 11 additions and 11 deletions

View File

@@ -28,9 +28,9 @@ batch_move() {
src=${src#*:} src=${src#*:}
local dest=${entry%%:*} local dest=${entry%%:*}
if ${runlist}; then if ${runlist}; then
"${dest}"pkg -s "${src}" -u -p "${pkg}" "${dest}"pkg -s "${src}" -p "${pkg}"
else else
msg "%s" "${dest}pkg -s ${src} -u -p ${pkg}" msg "%s" "${dest}pkg -s ${src} -p ${pkg}"
fi fi
done < "$pkglist" done < "$pkglist"
} }

View File

@@ -133,15 +133,15 @@ run(){
msg "Checking (%s) (Artix)" "${tree##*/}" msg "Checking (%s) (Artix)" "${tree##*/}"
pull_tree "${tree##*/}" "$head" pull_tree "${tree##*/}" "$head"
braid push "${package}" if braid push "${package}"; then
braid update "${package}" braid update "${package}"
msg "Update (%s)" "${tree##*/}"
msg "Update (%s)" "${group##*/}" git push origin master
git push origin master git prune
[[ "${cmd}" != 'commitpkg' ]] && check_team
git prune else
warning "'braid push %s' failed.\n" "${package}"
[[ "${cmd}" != 'commitpkg' ]] && check_team fi
else else
die "Package '%s' does not exist!" "${package}" die "Package '%s' does not exist!" "${package}"
fi fi