mirror of https://github.com/pwndbg/pwndbg.git
Add tag-push script
parent
7bdec11e6d
commit
3460f886a1
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git fetch --all
|
||||||
|
|
||||||
|
LAST_TAG=$(git log --tags -1 --pretty='%h')
|
||||||
|
COMMITS=$(git log $LAST_TAG..origin/master)
|
||||||
|
TAG=$(date '+%Y.%m.%d')
|
||||||
|
|
||||||
|
if [ -n "$COMMITS" ]; then
|
||||||
|
git tag $TAG origin/master
|
||||||
|
git push origin $TAG
|
||||||
|
fi
|
||||||
|
|
||||||
Loading…
Reference in new issue