Skip to content

Commit

Permalink
debug(ci): debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
git-developer committed Oct 6, 2024
1 parent a6de31f commit b27057d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ appimage/
dist/
sccontroller.egg-info/
!.github
scc/_version.py
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ RUN <<EOR
python -m pytest tests
pip install --prefix "${TARGET}/usr" dist/*.whl

# Save version
python -c "from scc.constants import DAEMON_VERSION; print('VERSION=' + DAEMON_VERSION)" >>/build/.build-metadata.env

# Fix shebangs of scripts from '#!/work/.env/bin/python'
find "${TARGET}/usr/bin" -type f | xargs sed -i 's:work/.env:usr:'

# Save version
python -c "from importlib.metadata import version; print('VERSION=' + version('sccontroller'))" >>/build/.build-metadata.env

# Provide input-event-codes.h as fallback for runtime systems without linux headers
cp -a \
"$(find /usr -type f -name input-event-codes.h -print -quit)" \
Expand Down

0 comments on commit b27057d

Please sign in to comment.