Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 27 lines (19 sloc) 383 Bytes
#!/bin/bash
set -o errexit
version="$1"
[[ -z "$version" ]] && {
echo "Usage $(basename $0) VERSION" >&2
exit 1
}
cat <<EOF
(1) add Changelog.md entry
(2) update install section version in README.md
(3) update version in plugin descriptor
Press enter for plugin release, ctrl + c to cancel
EOF
read
git tag "$version"
git push
git push --tags
grails publish-plugin
exit 0