Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-cluster
Commits
6f222280
Unverified
Commit
6f222280
authored
Nov 25, 2022
by
Matthias Fey
Committed by
GitHub
Nov 25, 2022
Browse files
Set version (#153)
* update * update * update * update * update
parent
43166576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
.github/workflows/building.yml
.github/workflows/building.yml
+5
-1
No files found.
.github/workflows/building.yml
View file @
6f222280
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment