Skip to content

Commit 72191a4

Browse files
committed
use awk
1 parent 4c948e3 commit 72191a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- name: Run Pyinstaller
3333
run: |
3434
poetry run pyinstaller keyboard.spec
35-
version=$(ldd --version | head -n 1 | cut -d ' ' -f 4)
36-
pyversion=$(python --version 2>&1 | cut -d ' ' -f 2)
35+
version=$(ldd --version | head -n 1 | awk '{print $NF}')
36+
pyversion=$(python --version 2>&1 | awk '{print $2}')
3737
mv ./dist/keyboard ./dist/virtual-keyboard-py$pyversion-glib$version-x86_64
3838
3939
- name: Store Dist

0 commit comments

Comments
 (0)