mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
13 lines
224 B
Bash
Executable file
13 lines
224 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if test $# -gt 0; then
|
|
echo "... releasing $1"
|
|
git commit -a -m "Release $1" \
|
|
&& git tag $1 \
|
|
&& git push \
|
|
&& git push --tags \
|
|
&& echo "... complete"
|
|
else
|
|
echo "tag required" && exit 1
|
|
fi
|