Update release.yml
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -63,7 +63,8 @@ jobs:
|
||||
CHANGED_FILES_COUNT=$(git status --short | wc -l)
|
||||
CHANGED_FILES_COUNT=${CHANGED_FILES_COUNT//[[:space:]]/}
|
||||
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"
|
||||
DEPENDENCIES_MODIFIED=$(git status --short | grep ".3rd-party/DEPENDENCIES")
|
||||
# Check if the file is modified
|
||||
@@ -82,6 +83,7 @@ jobs:
|
||||
git status --short
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
env:
|
||||
REVISION: ${{ github.event.inputs.revision }}
|
||||
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user