mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +02:00
fix then
This commit is contained in:
parent
f99244ed56
commit
ba6120a631
2
.github/actions/package-nfpm/action.yml
vendored
2
.github/actions/package-nfpm/action.yml
vendored
@ -69,7 +69,7 @@ runs:
|
||||
export VERSION="${{ inputs.major_version }}.${{ inputs.minor_version }}"
|
||||
export MAJOR_VERSION="${{ inputs.major_version }}"
|
||||
export MINOR_VERSION="${{ inputs.minor_version }}"
|
||||
elif [ -z ${{ inputs.major_version }} ];
|
||||
elif [ -z ${{ inputs.major_version }} ]; then
|
||||
export VERSION="${{ inputs.version }}"
|
||||
export MAJOR_VERSION=$( echo $MAJOR_VERSION | cut -d "-" -f1 )
|
||||
export MINOR_VERSION=$( echo $MAJOR_VERSION | cut -d "-" -f2 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user