summarylogtreecommitdiffstats
path: root/update
blob: e7b56cc00aecc33581af801ec105f5d4f8040c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env sh

if [ -n "$(git status --porcelain)" ]; then
	printf "Working directory NOT clean - exiting\n"
	exit 1
fi

makepkg -CcLfs
makepkg --printsrcinfo > ".SRCINFO"

git add .
if git commit -m "Update"; then
	git show HEAD
	printf "\n push changes when you're ready:\n"
	printf "git push\n"
fi