From 7d00175cfe8fa3ef09a1610e3bfe41f221dafd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Mon, 29 Jan 2024 16:23:19 +0100 Subject: [PATCH] We don't always update realm-core in a release (#1497) --- .github/workflows/prepare-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 43a0dde69..5f6fdd1be 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -90,8 +90,8 @@ jobs: - name: Make sure we updated realmCoreVersion in metrics run: | - if [ '${{ steps.update-realmCoreVersion.outputs.modifiedFiles }}' != '1' ]; then - echo 'Expected exactly one modified file, got ${{ steps.update-realmCoreVersion.outputs.modifiedFiles }}' + if [ '${{ steps.update-realmCoreVersion.outputs.modifiedFiles }}' -le 1 ]; then + echo 'At most one modified file expected, got ${{ steps.update-realmCoreVersion.outputs.modifiedFiles }}' exit 1 fi