Spaces:
Running
Running
add `fi`
Browse files
.github/workflows/release.yaml
CHANGED
@@ -102,12 +102,13 @@ jobs:
|
|
102 |
- name: Check if version is bumped
|
103 |
id: check_version
|
104 |
run: |
|
105 |
-
if [ "
|
106 |
echo "Version not bumped. Exiting."
|
107 |
echo "version_bumped=false" >> $GITHUB_ENV
|
108 |
else
|
109 |
echo "Version bumped. Proceeding."
|
110 |
echo "version_bumped=true" >> $GITHUB_ENV
|
|
|
111 |
|
112 |
# Step 7: Install Flit (only if version bumped)
|
113 |
- name: Install Flit
|
|
|
102 |
- name: Check if version is bumped
|
103 |
id: check_version
|
104 |
run: |
|
105 |
+
if [ "${{ env.VERSION }}" = "${{ env.LATEST_PYPI_VERSION }}" ]; then
|
106 |
echo "Version not bumped. Exiting."
|
107 |
echo "version_bumped=false" >> $GITHUB_ENV
|
108 |
else
|
109 |
echo "Version bumped. Proceeding."
|
110 |
echo "version_bumped=true" >> $GITHUB_ENV
|
111 |
+
fi
|
112 |
|
113 |
# Step 7: Install Flit (only if version bumped)
|
114 |
- name: Install Flit
|