You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
226 B
12 lines
226 B
#!/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
|
|
|