Update .github/actions/package-nfpm/action.yml

Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com>
This commit is contained in:
May 2024-01-31 16:51:16 +01:00 committed by GitHub
parent 534f03e05d
commit 2086cc976a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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"