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