Skip to content

Commit

Permalink
Try to fix build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxa committed Apr 29, 2019
1 parent f67d651 commit 48a4b0b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build_files/upload_package
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@ ls -lah dist/* || true

cd dist

if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
curl --help
fi

for filename in ./*.{dmg,deb,rpm,snap,exe,zip}; do
[ -e "$filename" ] || continue
echo "Uploading $filename to https://postbird.paxa.kuber.host/$PKG_DATE-$GIT_BRANCH-$GIT_REF ..."
curl https://postbird.paxa.kuber.host/$PKG_DATE-$GIT_BRANCH-$GIT_REF/$filename \
curl "https://postbird.paxa.kuber.host/$PKG_DATE-$GIT_BRANCH-$GIT_REF/$filename" \
-T "$filename" \
-H "Upload-Token: $UPLOAD_TOKEN" \
--retry 3 --retry-delay 10 --http1.1
Expand Down

0 comments on commit 48a4b0b

Please sign in to comment.