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
|
@ -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…
Reference in New Issue