Skip to content

Commit 8cd9efa

Browse files
committed
Upload releases and artifacts on tags only
1 parent b05418b commit 8cd9efa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@ deployment:
4646
- python setup.py sdist
4747
- twine upload dist/* -u Stunts -p $pypi_password
4848
only:
49-
- master # Make sure this only happens in `master`
49+
- tags
50+
artifacts:
51+
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
52+
paths:
53+
- dist/

0 commit comments

Comments
 (0)