You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/tag_release.sh

15 lines
188 B
Bash

#!/bin/sh
set -ex
DATE=$(which gdate || which date)
git fetch --all
TAG=$($DATE '+%Y.%m.%d')
if git tag -a $TAG -m "Add release $TAG" origin/master; then
git push origin $TAG
fi