now specifying python version in fpm build

This commit is contained in:
Joel Klimont 2022-10-07 19:12:38 +02:00
parent b6c351dd0b
commit 60cfb2669c
2 changed files with 1 additions and 4 deletions

View file

@ -16,9 +16,6 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Bump version number - name: Bump version number
uses: paulhatch/semantic-version@v4.0.2 uses: paulhatch/semantic-version@v4.0.2
id: next_semantic_version id: next_semantic_version

View file

@ -14,7 +14,7 @@ echo "Building Package version: $VERSION"
# BE CAREFUL TO NOT BUILD IN A PYTHON VENV! # BE CAREFUL TO NOT BUILD IN A PYTHON VENV!
# be sure to change version if needed! # be sure to change version if needed!
fpm -s python --python-bin python3 --python-pip pip3 --python-package-name-prefix python3 \ fpm -s python --python-bin python3.9 --python-package-name-prefix python3 \
-m '"Joel Klimont" <joel.klimont@comp-air.at>' \ -m '"Joel Klimont" <joel.klimont@comp-air.at>' \
--license 'proprietary' \ --license 'proprietary' \
--description 'Library for robot used in the competition' \ --description 'Library for robot used in the competition' \