Merge "Chore: Move to ubuntu2004-docker"
[ci-management.git] / shell / snapshot-strip.sh
1 #!/bin/bash
2 # Ensure we fail the job if any steps fail
3 set -e -o pipefail
4
5 # Strip -SNAPSHOT from pom
6 find . -name "*.xml" -print0 | xargs -0 sed -i 's/-SNAPSHOT//g'