Skip to content

Commit ea376e6

Browse files
author
akashjavelin
committed
devops: updated pr-check.yaml yaml for adding build
1 parent 741d671 commit ea376e6

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
cat ${file}
178178
exit 1
179179
fi
180-
180+
181181
- name: Setup Python
182182
uses: actions/setup-python@v5
183183
with:
@@ -188,22 +188,6 @@ jobs:
188188
shell: bash
189189
run: |-
190190
pip install build
191-
192-
- name: Setting up the Package Version
193-
env:
194-
PY_VER_FILE: "pyproject.toml"
195-
RELEASE_NAME: ${{ github.event.release.name }}
196-
shell: bash
197-
run: |-
198-
export RELEASE_VERSION=$(echo ${{ env.RELEASE_NAME }} | sed 's|^v||g')
199-
if cat ${{ env.PY_VER_FILE }} | grep 'version = "RELEASE_VERSION"' ; then
200-
sed -i "s|^version = \"RELEASE_VERSION\"|version = \"${RELEASE_VERSION}\"|g" ${{ env.PY_VER_FILE }}
201-
cat ${file}
202-
else
203-
echo "Version entry format is wrong in the ${{ env.PY_VER_FILE }} file...!"
204-
cat ${file}
205-
exit 1
206-
fi
207191
208192
209193
- name: Build Package

0 commit comments

Comments
 (0)