arch/git-pull
Daniel Langbein 85163477df updates and build process changes
build process:
- never run "pacman -Sy" as pacman does not support partial upgrades, instead use "pacman -Syu"
- after each build-stage: run "docker build" with cache disabled to make sure the build step "pacman -Syu" is run
2021-09-19 18:59:43 +02:00

6 lines
251 B
Bash
Executable File

#!/bin/bash
git pull || exit $?
git submodule foreach 'git checkout master || git checkout main' || exit $?
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'