Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Switched to uname -s -m for artifact naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Johansson committed Nov 17, 2015
1 parent 6789a14 commit 6950a04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deploy:
provider: releases
api_key:
secure: h9oQ1NEoopzDNOOCLg0+qeGD9kwTQk4DCQcrqgwLgQw8dm+70B4GibOZYqFMMz+9VbVMwWYt4UoP0BwtnJCikG7Ig/koANudV4fhFhl46ebh/d6rZswyYYJiB6LWH9zD6C9lYQ9EH2bCJmGC2cR676v0Mrn2tRMWOhu615DYyGuKOomLSaSk1XGHi8BhCr1KjmXWjhovj8PsYo7mjRMZ43K+QBq/+T7V0+KCM73RwIz6kTeGPSbRJfkorzX3BxbqBIblqeIohKiMcV5D0GDd0mefUqsORWBFoQGJUzVFPF3AeZZUnrv+VAD4OwsSNYIpw9ov8GdXnGMFqEBJkRURs3gB7CKHDwgWkEhUcpKeDIFr8sDicHr3XcDdc/7Rvx7qrEGTksRVpjJuANEEkVgKh74Hq9Q/byweNptFg0UlQO+D1e3PueqDs1X8lVDqPSZV9EOIeUTjgqiJpORZImVl7bXkKbc2B4sAxJJeXhdS6E3qBiIjLSTMLKIirly7S76tPFExzfYV8xmG2l4ILgaLDm4jI2olfM7z2KxC22HNo9u54h8OjSn6cnG2xtsn1mzdo/MjaTg9zInSwE0iQE59guMX9yFYSyf4CT0HaszvR3Sebs7nusI909w1J5+ZJB0MpMeVwuvJR5wdtUTs2awmRpafOQgDgGahG2gO/ttPS04=
file: "dist/lighter-${TRAVIS_OS_NAME}"
file: "dist/lighter-$(uname -s)-$(uname -m)"
skip_cleanup: true
on:
tags: true
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
source ~/.venv/bin/activate
fi

# Run unit tests
./test

TRAVIS_OS_NAME=${TRAVIS_OS_NAME:-$(uname -s | tr '[:upper:]' '[:lower:]')}
pyinstaller --onefile "--name=lighter-${TRAVIS_OS_NAME}" src/lighter/main.py
# Build the standalone binary
pyinstaller --onefile "--name=lighter-$(uname -s)-$(uname -m)" src/lighter/main.py

0 comments on commit 6950a04

Please sign in to comment.