mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Update .github/actions/package-nfpm/action.yml
Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com>
This commit is contained in:
parent
92336edfc3
commit
be4702b0af
2
.github/actions/package-nfpm/action.yml
vendored
2
.github/actions/package-nfpm/action.yml
vendored
@ -72,7 +72,7 @@ runs:
|
|||||||
elif [ -z ${{ inputs.major_version }} ]; then
|
elif [ -z ${{ inputs.major_version }} ]; then
|
||||||
export VERSION="${{ inputs.version }}"
|
export VERSION="${{ inputs.version }}"
|
||||||
export MAJOR_VERSION=$( echo $VERSION | cut -d "-" -f1 )
|
export MAJOR_VERSION=$( echo $VERSION | cut -d "-" -f1 )
|
||||||
export MINOR_VERSION=$( echo $MAJOR_VERSION | cut -d "-" -f2 )
|
export MINOR_VERSION=$( echo $VERSION | cut -d "-" -f2 )
|
||||||
fi
|
fi
|
||||||
export RELEASE="${{ inputs.release }}"
|
export RELEASE="${{ inputs.release }}"
|
||||||
export ARCH="${{ inputs.arch }}"
|
export ARCH="${{ inputs.arch }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user