From 9af70764f72e9e454de08f9333b79951562e5e9f Mon Sep 17 00:00:00 2001 From: EmixamPP Date: Tue, 25 Jul 2023 09:59:23 +0200 Subject: [PATCH] chore(workflow): fix false positive update --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b38a378..250e47f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -25,7 +25,7 @@ jobs: sed -i "s@^%global synology_version .*@%global synology_version $VERSION@" synology-drive{,-noextra}.spec sed -i "s@^%global synology_release .*@%global synology_release $RELEASE@" synology-drive{,-noextra}.spec - if [ -z "$(git status -s)" ]; then + if [ ! -z "$(git status -s)" ]; then sed -i "/%changelog/a * $(date '+%a %B %d %Y') Maxime Dirksen - $VERSION-$RELEASE\n- Version $VERSION-$RELEASE of Synology Drive Client" synology-drive{,-noextra}.spec fi