From b271fa564b7e7e55735de66aa5c98f2099546924 Mon Sep 17 00:00:00 2001 From: May <110405507+paul-oureib@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:05:51 +0100 Subject: [PATCH] Update .github/actions/package-nfpm/action.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> --- .github/actions/package-nfpm/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/package-nfpm/action.yml b/.github/actions/package-nfpm/action.yml index b92868702..1de35f098 100644 --- a/.github/actions/package-nfpm/action.yml +++ b/.github/actions/package-nfpm/action.yml @@ -95,7 +95,7 @@ runs: if [[ "$MAJOR_VERSION" != "" ]]; then MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 ) MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 ) - if [ "$MAJOR_RIGHT" = "04" ]; then + if [ "$MAJOR_RIGHT" == "04" ]; then BUMP_MAJOR_LEFT="$MAJOR_LEFT" BUMP_MAJOR_RIGHT="10" else