mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-26 11:18:39 +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
2086cc976a
commit
9d425c83d9
2
.github/actions/package-nfpm/action.yml
vendored
2
.github/actions/package-nfpm/action.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user