Skip to content

Commit 63ec92c

Browse files
committed
Check if the sed replacement succeeded with the expected version
1 parent e4aa550 commit 63ec92c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/update-version.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
run: |
4646
K_VERSION=$(cat deps/k_release)
4747
sed -i 's! "kframework==[0-9\.]*",! "kframework=='${K_VERSION}'",!' kevm-pyk/pyproject.toml
48+
if ! grep -q "kframework==$K_VERSION" kevm-pyk/pyproject.toml; then
49+
echo "Update failed: kframework==$K_VERSION not found"; exit 1
50+
fi
4851
uv --project kevm-pyk lock --upgrade
4952
git add kevm-pyk/ && git commit -m "kevm-pyk/: sync uv files pyk version ${K_VERSION}" || true
5053
- name: 'Update plugin release file'

0 commit comments

Comments
 (0)