blob: 2fa12e807db08f4e6eedf30575d35ca7ee3cad3f [file] [log] [blame]
#!/bin/bash
JIRA=$1
shift
REL="1.0.0-SNAPSHOT"
if [ ! "$JIRA" ]; then
echo "" >&2
echo "usage: " >&2
echo "" >&2
echo "$(basename $0) \${ISISJIRA} " >&2
echo "" >&2
exit 1
fi
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" core/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/simpleapp/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/helloworld/pom.xml
git commit -am "${JIRA}: bumps revision property across all pom.xml's back to ${REL}"