Update release.yml

This commit is contained in:
Avgustin Marinov
2025-06-24 15:05:19 +03:00
committed by GitHub
parent 7846b2b0f8
commit 0547697ca3

View File

@@ -63,7 +63,8 @@ jobs:
CHANGED_FILES_COUNT=$(git status --short | wc -l) CHANGED_FILES_COUNT=$(git status --short | wc -l)
CHANGED_FILES_COUNT=${CHANGED_FILES_COUNT//[[:space:]]/} CHANGED_FILES_COUNT=${CHANGED_FILES_COUNT//[[:space:]]/}
echo "Number of changed files: ${CHANGED_FILES_COUNT}" echo "Number of changed files: ${CHANGED_FILES_COUNT}"
if [ "$CHANGED_FILES_COUNT" -eq 1 ]; then if [ "${CHANGED_FILES_COUNT}" -ne 0 ]; then
if [ "${CHANGED_FILES_COUNT}" -eq 1 ]; then
DEPENDENCY_FILE=".3rd-party/DEPENDENCIES" DEPENDENCY_FILE=".3rd-party/DEPENDENCIES"
DEPENDENCIES_MODIFIED=$(git status --short | grep ".3rd-party/DEPENDENCIES") DEPENDENCIES_MODIFIED=$(git status --short | grep ".3rd-party/DEPENDENCIES")
# Check if the file is modified # Check if the file is modified
@@ -82,6 +83,7 @@ jobs:
git status --short git status --short
exit 1 exit 1
fi fi
fi
env: env:
REVISION: ${{ github.event.inputs.revision }} REVISION: ${{ github.event.inputs.revision }}
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}