[CI] Release workflow (WIP)

This commit is contained in:
Chris Bono
2023-04-11 23:57:08 -05:00
parent 4598b298c4
commit e8713c105c

View File

@@ -13,7 +13,7 @@ if [ "$RELEASE_TYPE" = "milestone" ]; then
echo "Checking versions for $RELEASE_TYPE release"
lines=$(find . -type f -name pom.xml | xargs grep SNAPSHOT | grep -v ".contains(" | grep -v regex | wc -l)
if [ $lines -ne 0 ]; then
echo "Snapshots found ($lines)check-versions-for-release.sh. Exiting the release build."
echo "Snapshots version found ($lines). Exiting build"
if [ "$VERBOSE" = "true" ]; then
echo $(find . -type f -name pom.xml | xargs grep SNAPSHOT | grep -v ".contains(" | grep -v regex)
fi