misc: Update my tag script to deal with large releases

This commit is contained in:
James Shubin
2017-06-03 03:54:49 -04:00
parent 28a6430778
commit 2f6c77fba2

3
tag.sh
View File

@@ -9,5 +9,6 @@ echo "Press ^C within 3s to abort."
sleep 3s sleep 3s
echo "release: tag $t" | git tag --file=- --sign $t echo "release: tag $t" | git tag --file=- --sign $t
git push origin $t git push origin $t
git diff --stat "$v" "$t" GIT_PAGER=cat git diff --stat "$v" "$t"
if which contrib.sh 2>/dev/null; then contrib.sh "$v"; fi if which contrib.sh 2>/dev/null; then contrib.sh "$v"; fi
echo -e "run 'git log $v..$t' to see what has changed since $v"