Skip to content

Commit 5ed1ea4

Browse files
committed
travis releases
1 parent dceccca commit 5ed1ea4

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ before_deploy:
1111
- pip install pypandoc
1212
- pip install -r docs/requirements.txt
1313
- python docs/build.py
14-
- git tag `python -c "f = open('trimesh/version.py', 'r'); exec(f.read()); print(__version__)"` || true
14+
- export TMVERSION=`python -c "f = open('trimesh/version.py', 'r'); exec(f.read()); print(__version__)"`
15+
- git tag $TMVERSION || true
16+
- tar -czf ../trimesh-$TMVERSION.tar.gz ../trimesh
1517

1618
deploy:
1719
- provider: pypi
@@ -34,10 +36,10 @@ deploy:
3436

3537
- provider: releases
3638
api_key: $GITHUB_TOKEN
37-
file: "*"
39+
skip_cleanup: true
40+
file: "../trimesh-$TMVERSION.tar.gz"
3841
on:
3942
tags: true
40-
4143
before_install:
4244
- sudo apt-get update
4345
- sudo apt-get install -y openscad blender meshlab xvfb

trimesh/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.33.18'
1+
__version__ = '2.33.19'

0 commit comments

Comments
 (0)