File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -97,15 +97,17 @@ jobs:
9797 - name : " Check if using hatch"
9898 id : use_hatch
9999 run : |
100- # Extract major.minor from versions like 1.11.0a1 -> 1.11
101- INPUT_MAJ_MIN=$(echo "${{ inputs.version_number }}" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
102- HATCH_MAJ_MIN=$(echo "${{ env.MIN_HATCH_VERSION }}" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
103-
104- if [ $(echo "$INPUT_MAJ_MIN >= $HATCH_MAJ_MIN" | bc) -eq 1 ]; then
105- echo "use_hatch=true" >> $GITHUB_OUTPUT
106- else
107- echo "use_hatch=false" >> $GITHUB_OUTPUT
108- fi
100+ # # Extract major.minor from versions like 1.11.0a1 -> 1.11
101+ # INPUT_MAJ_MIN=$(echo "${{ inputs.version_number }}" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
102+ # HATCH_MAJ_MIN=$(echo "${{ env.MIN_HATCH_VERSION }}" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
103+
104+ # if [ $(echo "$INPUT_MAJ_MIN >= $HATCH_MAJ_MIN" | bc) -eq 1 ]; then
105+ # echo "use_hatch=true" >> $GITHUB_OUTPUT
106+ # else
107+ # echo "use_hatch=false" >> $GITHUB_OUTPUT
108+ # fi
109+ # to force it to use setuptools for testing purposes
110+ echo "use_hatch=false" >> $GITHUB_OUTPUT
109111
110112 - name : " Notify if using hatch"
111113 run : |
You can’t perform that action at this time.
0 commit comments