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:49:28 +01:00 committed by GitHub
parent 77553e501e
commit 92336edfc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ runs:
export MINOR_VERSION="${{ inputs.minor_version }}"
elif [ -z ${{ inputs.major_version }} ]; then
export VERSION="${{ inputs.version }}"
export MAJOR_VERSION=$( echo $MAJOR_VERSION | cut -d "-" -f1 )
export MAJOR_VERSION=$( echo $VERSION | cut -d "-" -f1 )
export MINOR_VERSION=$( echo $MAJOR_VERSION | cut -d "-" -f2 )
fi
export RELEASE="${{ inputs.release }}"