mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 13:50:00 +00:00
Fixed prod PyPI URL and deploy block list.
This commit is contained in:
27
.travis.yml
27
.travis.yml
@@ -14,21 +14,20 @@ matrix:
|
|||||||
- "cd ../"
|
- "cd ../"
|
||||||
deploy:
|
deploy:
|
||||||
# Checkpointed release builds.
|
# Checkpointed release builds.
|
||||||
provider: script
|
- provider: script
|
||||||
script: .travis/deploy-python.sh
|
script: .travis/deploy-python.sh
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
# all_branches must be set with tags: true. See below post:
|
# all_branches must be set with tags: true. See below post:
|
||||||
# https://stackoverflow.com/a/27775257/1076585
|
# https://stackoverflow.com/a/27775257/1076585
|
||||||
all_branches: true
|
all_branches: true
|
||||||
deploy:
|
|
||||||
# Produce a new build for the cutting edge when master changes.
|
# Produce a new build for the cutting edge when master changes.
|
||||||
provider: script
|
- provider: script
|
||||||
script: .travis/deploy-python.sh
|
script: .travis/deploy-python.sh
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
- language: cpp
|
- language: cpp
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
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/"
|
TEST_REPOSITORY="https://test.pypi.org/legacy/"
|
||||||
|
|
||||||
twine upload \
|
twine upload \
|
||||||
|
|||||||
Reference in New Issue
Block a user