Skip to content

Commit 369fcdf

Browse files
danieldkDaniël de Kok
authored andcommitted
Disable release builds for anything but tags
1 parent ec08bff commit 369fcdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ script:
4444
- cargo fmt --all -- --check
4545
- pyo3-pack develop
4646
- pytest
47-
- pyo3-pack build --release
47+
- |
48+
if [ -n "$TRAVIS_TAG" ]; then
49+
pyo3-pack build --release
50+
fi
4851
deploy:
4952
provider: releases
5053
api_key:

0 commit comments

Comments
 (0)