mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
11 lines
180 B
Bash
Executable file
11 lines
180 B
Bash
Executable file
#!/bin/sh
|
|
|
|
tagname=$1
|
|
|
|
test -z $tagname && echo "tag required" && exit 1
|
|
|
|
echo "... releasing $1"
|
|
git tag -a "$1" -m "Release $1" \
|
|
&& git push --tags \
|
|
&& echo "... complete"
|