Store version in project metadata

This commit is contained in:
Pavel Zwerschke 2024-05-11 19:35:14 +02:00
parent 21a266e302
commit f600d682e7
No known key found for this signature in database
GPG key ID: 43E091FBB4E98046
11 changed files with 45 additions and 22 deletions

View file

@ -41,7 +41,9 @@ jobs:
run: git diff --exit-code
- name: Build
run: ./scripts/build
run: |
./scripts/build
./dist/pferd${{ matrix.os == 'windows-latest' && '.exe' || '' }} --version
- name: Rename binary
# Glob in source location because on windows pyinstaller creates a file