Skip to content

Commit

Permalink
fix(ci/docs): change version only
Browse files Browse the repository at this point in the history
it was previously changing the file header which then affects the docs
  • Loading branch information
youben11 committed Dec 26, 2024
1 parent 1ae7ac6 commit 561378b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/concrete_python_release_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ jobs:
if: ${{ env.RELEASE_TYPE == 'public' }}
run: echo "__version__ = \"$(git describe --tags --abbrev=0 | grep -e '[0-9].*' -o)\"" >| frontends/concrete-python/version.txt
- name: Expose release version from Python
run: cp frontends/concrete-python/version.txt frontends/concrete-python/concrete/fhe/version.py
run: |
# remove old version
sed '/^__version__/d' -i frontends/concrete-python/concrete/fhe/version.py
# add new version
cat frontends/concrete-python/version.txt >> frontends/concrete-python/concrete/fhe/version.py
- name: Optional GPU Options
if: ${{ matrix.hw == 'gpu' }}
run: |
Expand Down Expand Up @@ -209,7 +213,11 @@ jobs:
if: ${{ env.RELEASE_TYPE == 'public' }}
run: echo "__version__ = \"$(git describe --tags --abbrev=0 | grep -e '[0-9].*' -o)\"" >| frontends/concrete-python/version.txt
- name: Expose release version from Python
run: cp frontends/concrete-python/version.txt frontends/concrete-python/concrete/fhe/version.py
run: |
# remove old version
sed -e '/^__version__/d' -i '' frontends/concrete-python/concrete/fhe/version.py
# add new version
cat frontends/concrete-python/version.txt >> frontends/concrete-python/concrete/fhe/version.py
- name: Build wheel
run: |
CONCRETE_PYTHON=$(pwd)/frontends/concrete-python
Expand Down

0 comments on commit 561378b

Please sign in to comment.