Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,17 @@ jobs:
- name: Check for SNAPSHOT dependencies
working-directory: ${{ matrix.module }}
run: |
if find . -name "pom.xml" -exec grep -l "SNAPSHOT" {} \;; then
echo "🔍 Checking for SNAPSHOT dependencies..."
SNAPSHOT_FILES=$(find . -name "pom.xml" -type f -exec grep -l "SNAPSHOT" {} \;)
if [ -n "$SNAPSHOT_FILES" ]; then
echo "❌ ERROR: SNAPSHOT dependencies found in release build!"
echo ""
echo "Files containing SNAPSHOT:"
echo "$SNAPSHOT_FILES"
exit 1
fi
echo "✅ No SNAPSHOT dependencies"

echo "✅ No SNAPSHOT dependencies found"

- name: Verify build
working-directory: ${{ matrix.module }}
Expand Down
Loading