From 2086cc976a7d18c30bdff0874eee721a3877eb51 Mon Sep 17 00:00:00 2001 From: May <110405507+paul-oureib@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:51:16 +0100 Subject: [PATCH 1/2] 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 b4af4ac00..8a6c2c455 100644 --- a/.github/actions/package-nfpm/action.yml +++ b/.github/actions/package-nfpm/action.yml @@ -93,7 +93,7 @@ runs: fi if [ -z "$MAJOR_VERSION" ]; then - MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 ) + MAJOR_LEFT=$( echo $VERSION | cut -d "." -f1 ) MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 ) if [ "$MAJOR_RIGHT" == "04" ]; then BUMP_MAJOR_LEFT="$MAJOR_LEFT" From 9d425c83d9ec25813d63478863cbab6366c59749 Mon Sep 17 00:00:00 2001 From: May <110405507+paul-oureib@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:51:30 +0100 Subject: [PATCH 2/2] 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 8a6c2c455..3be47f15b 100644 --- a/.github/actions/package-nfpm/action.yml +++ b/.github/actions/package-nfpm/action.yml @@ -94,7 +94,7 @@ runs: if [ -z "$MAJOR_VERSION" ]; then MAJOR_LEFT=$( echo $VERSION | cut -d "." -f1 ) - MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 ) + MAJOR_RIGHT=$( echo $VERSION | cut -d "-" -f1 | cut -d "." -f2 ) if [ "$MAJOR_RIGHT" == "04" ]; then BUMP_MAJOR_LEFT="$MAJOR_LEFT" BUMP_MAJOR_RIGHT="10"