blob: ec6c54fe5e8dd5febff0c38012642aeb597e83ff [file] [log] [blame]
#!/bin/bash -eu
if [ ! -f pom.xml ]; then
echo "No pom.xml, skipping"
exit 0
fi
origin=$(git remote get-url origin)
sed -i "s#<url>https://gitbox.apache.org/repos/asf.*</url>#<url>${origin}</url>#" pom.xml