feat(python): version python package from git tag

automatic detection of version from git tag and update of the python
version file
This commit is contained in:
youben11
2021-12-14 10:32:01 +01:00
committed by Ayoub Benaissa
parent a94e05e85b
commit b812f6f7f2
5 changed files with 22 additions and 6 deletions

View File

@@ -113,6 +113,9 @@ jobs:
cd ${{ github.workspace }}/concrete/concrete-ffi
RUSTFLAGS="-C target-cpu=native" cargo build --release
- name: Update Python Version
run: cd compiler && make update_python_version
- name: Build
id: build-wheel-macos
run: |
@@ -156,4 +159,3 @@ jobs:
asset_path: ${{ github.workspace }}/compiler/tarballs/${{ steps.build-mac-tarball.outputs.ASSET_NAME }}
asset_name: ${{ steps.build-mac-tarball.outputs.ASSET_NAME }}
asset_content_type: application/tar+gzip
# TODO: version python