Skip to content

Commit 70fa43e

Browse files
committed
testing
1 parent 61009f6 commit 70fa43e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)