Skip to content

Commit

Permalink
fix(packaging): always set release number provided by action inputs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Oct 10, 2024
1 parent 33f361d commit e58231b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit e58231b

Please sign in to comment.