mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Chizi123
2019-06-09 01b1e08a62a1e7a1976ceec2edf3a488ab48c928
ready for docker testing
1 files modified
1 files added
25 ■■■■ changed files
makebuild.sh 9 ●●●●● patch | view | raw | blame | history
repo/build.sh 16 ●●●●● patch | view | raw | blame | history
makebuild.sh
New file
@@ -0,0 +1,9 @@
#!/bin/bash
BUILDDIR=$(dirname "$(realpath $0)")
cd $BUILDDIR
docker run -ti -w /build -v $BUILDDIR/repo:/build joeleg/archbuild ./build.sh
# git add repo/x86_64
# git commit -m "'date =%d/%m/%y-%H:%M'"
# git push
repo/build.sh
@@ -34,20 +34,22 @@
    return 0
}
for d in 'emacs-git'
for d in `find . -maxdepth 1 -not -path '*/\.*' -type d`
do
    if [ "$d" = "x86_64" ]; then
    if [ "$d" = "./x86_64" ] || [ "$d" = "." ]; then
        continue
    fi
    cd $d
    git pull
    makepkg
    makepkg -s --noconfirm
    latest=$(newest_matching_file '*.pkg.tar.xz')
    cd ..
    rsync $d/$latest x86_64/$latest
    repo-add ./repo.db.tar.xz x86_64/$latest
    repo-add ./Chizi123.db.tar.xz x86_64/$latest
done
git add x86_64
git commit -m "'$(date +%d/%m/%y)'"
git push
cp Chizi123.db.tar.xz x86_64/Chizi123.db
cp Chizi123.files.tar.xz x86_64/Chizi123.files
# git add x86_64
# git commit -m "'$(date +%d/%m/%y-%H:%M)'"
# git push