Skip to content

Commit

Permalink
bash variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 30, 2023
1 parent 6f9e840 commit 8e59498
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
- name: Build package to publish
run: |
.venv-builder/bin/python setup.py sdist bdist_wheel
extra_content="$(tar -tf dist/*.tar.gz | sed 's#[^/]*/##' | grep '/' | grep -v oarepo_model_builder_tests)"
test -z "$extra_content" || (echo "Unexpected content in dist tar.gz: $extra_content" && exit 1)
extra_content="$(unzip -ql dist/*.whl | grep -v oarepo_model_builder_tests | tail -n +5)"
test -z "$extra_content" || (echo "Unexpected content in dist whl: $extra_content" && exit 1)
# extra_content="$(tar -tf dist/*.tar.gz | sed 's#[^/]*/##' | grep '/' | grep -v oarepo_model_builder_tests)"
# test -z "$extra_content" || (echo "Unexpected content in dist tar.gz: $extra_content" && exit 1)
# extra_content="$(unzip -ql dist/*.whl | grep -v oarepo_model_builder_tests | tail -n +5)"
# test -z "$extra_content" || (echo "Unexpected content in dist whl: $extra_content" && exit 1)

- name: Freeze packages
run: |
Expand Down

0 comments on commit 8e59498

Please sign in to comment.