From e58231b1c4fde5717a884e01f173267f813fc147 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Thu, 10 Oct 2024 10:06:38 +0200 Subject: [PATCH] fix(packaging): always set release number provided by action inputs (#1757) (#1758) --- .github/actions/package/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/package/action.yml b/.github/actions/package/action.yml index f328ac6bab8..c753cc054d5 100644 --- a/.github/actions/package/action.yml +++ b/.github/actions/package/action.yml @@ -71,11 +71,7 @@ runs: export DIST="${{ steps.parse-distrib.outputs.package_distrib_separator }}${{ steps.parse-distrib.outputs.package_distrib_name }}" else export DIST="" - if [ "${{ inputs.stability }}" = "unstable" ] || [ "${{ inputs.stability }}" = "canary" ]; then - export RELEASE="$RELEASE${{ steps.parse-distrib.outputs.package_distrib_separator }}${{ steps.parse-distrib.outputs.package_distrib_name }}" - else - export RELEASE="1${{ steps.parse-distrib.outputs.package_distrib_separator }}${{ steps.parse-distrib.outputs.package_distrib_name }}" - fi + export RELEASE="$RELEASE${{ steps.parse-distrib.outputs.package_distrib_separator }}${{ steps.parse-distrib.outputs.package_distrib_name }}" fi MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )