Unverified Commit 6f222280 authored by Matthias Fey's avatar Matthias Fey Committed by GitHub
Browse files

Set version (#153)

* update

* update

* update

* update

* update
parent 43166576
...@@ -64,7 +64,11 @@ jobs: ...@@ -64,7 +64,11 @@ jobs:
if: ${{ runner.os != 'macOS' }} if: ${{ runner.os != 'macOS' }}
run: | run: |
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_cluster/__init__.py` VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_cluster/__init__.py`
sed -i "s/$VERSION/$VERSION+${{ matrix.cuda-version }}/" torch_cluster/__init__.py TORCH_VERSION=`echo "pt${{ matrix.torch-version }}" | sed "s/..$//" | sed "s/\.//g"`
CUDA_VERSION=`echo ${{ matrix.cuda-version }}`
echo "New version name: $VERSION+$TORCH_VERSION$CUDA_VERSION"
sed -i "s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/" setup.py
sed -i "s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/" torch_cluster/__init__.py
shell: shell:
bash bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment