summaryrefslogtreecommitdiffstats
path: root/shell/snapshot-strip.sh
blob: a418a75b0a482cedaaee2fb8a6c1296eb34130c4 (plain)
1
2
3
4
5
6
#!/bin/bash
# Ensure we fail the job if any steps fail
set -e -o pipefail

# Strip -SNAPSHOT from pom
find . -name "*.xml" -print0 | xargs -0 sed -i 's/-SNAPSHOT//g'