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-spline-conv
Commits
99f8b989
Unverified
Commit
99f8b989
authored
Nov 25, 2022
by
Matthias Fey
Committed by
GitHub
Nov 25, 2022
Browse files
Merge pull request #35 from rusty1s/set_version
Set version
parents
e057e5cf
1922959c
Changes
1
Show 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 @
99f8b989
...
@@ -63,7 +63,11 @@ jobs:
...
@@ -63,7 +63,11 @@ jobs:
if
:
${{ runner.os != 'macOS' }}
if
:
${{ runner.os != 'macOS' }}
run
:
|
run
:
|
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.py`
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.py`
sed -i "s/$VERSION/$VERSION+${{ matrix.cuda-version }}/" torch_spline_conv/__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_spline_conv/__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