Skip to content

Commit

Permalink
pass gemfury org from env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Mar 25, 2020
1 parent 8b4619a commit 14be73e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ after_build:
# upload to gemfury
- conda install -y curl
- for /f %%i in ('dir /b wheels\*.whl') do set WHEEL_PATH=wheels\%%i
- curl.exe -f -F "package=@%WHEEL_PATH%" "https://%CROSSBOW_GEMFURY_TOKEN%@push.fury.io/ursa-labs/"
- curl.exe -f -F "package=@%WHEEL_PATH%" "https://%CROSSBOW_GEMFURY_TOKEN%@push.fury.io/%CROSSBOW_GEMFURY_ORG%/"
{% endif %}

#on_finish:
Expand Down
3 changes: 2 additions & 1 deletion dev/tasks/python-wheels/azure.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ jobs:
# upload to gemfury
- script: |
path=$(ls arrow/python/{{ wheel_dir }}/dist/*.whl)
curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/ursa-labs/
curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/${CROSSBOW_GEMFURY_ORG}/
env:
CROSSBOW_GEMFURY_TOKEN: $(CROSSBOW_GEMFURY_TOKEN)
CROSSBOW_GEMFURY_ORG: $(CROSSBOW_GEMFURY_ORG)
displayName: Upload packages to Gemfury
{% endif %}
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/travis.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ install:
{% if arrow.branch == 'master' %}
# upload to gemfury pypi repository, there should be a single wheel
- path=$(ls arrow/python/dist/*.whl)
- curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/ursa-labs/
- curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/${CROSSBOW_GEMFURY_ORG}/
{% endif %}

notifications:
Expand Down

0 comments on commit 14be73e

Please sign in to comment.