mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Fixed prod PyPI URL and deploy block list.
This commit is contained in:
parent
617bbc9b0c
commit
da0bda6be3
2 changed files with 14 additions and 15 deletions
27
.travis.yml
27
.travis.yml
|
|
@ -14,21 +14,20 @@ matrix:
|
|||
- "cd ../"
|
||||
deploy:
|
||||
# Checkpointed release builds.
|
||||
provider: script
|
||||
script: .travis/deploy-python.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
# all_branches must be set with tags: true. See below post:
|
||||
# https://stackoverflow.com/a/27775257/1076585
|
||||
all_branches: true
|
||||
deploy:
|
||||
- provider: script
|
||||
script: .travis/deploy-python.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
# all_branches must be set with tags: true. See below post:
|
||||
# https://stackoverflow.com/a/27775257/1076585
|
||||
all_branches: true
|
||||
# Produce a new build for the cutting edge when master changes.
|
||||
provider: script
|
||||
script: .travis/deploy-python.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
- provider: script
|
||||
script: .travis/deploy-python.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
- language: cpp
|
||||
os:
|
||||
- linux
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
PROD_REPOSITORY="https://upload.pypi.org/legacy"
|
||||
PROD_REPOSITORY="https://upload.pypi.org/legacy/"
|
||||
TEST_REPOSITORY="https://test.pypi.org/legacy/"
|
||||
|
||||
twine upload \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue