diff options
| author | Lex Neva <github.com@lexneva.name> | 2020-01-27 22:22:22 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-01-29 01:29:49 -0500 |
| commit | 6573b167958ff1de882466acc455d2dfed767fe1 (patch) | |
| tree | 49e23955dfeefa521f77becdfa09e8b41b7b1e5b /bin | |
| parent | 25e9ea608d7d1173cfe6ce631f7fa116f5ad2c4d (diff) | |
remove obselete TRAVIS_ references
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/build-distribution-archives | 5 | ||||
| -rwxr-xr-x | bin/build-python | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/bin/build-distribution-archives b/bin/build-distribution-archives index 4aa83edf..0fcadb59 100755 --- a/bin/build-distribution-archives +++ b/bin/build-distribution-archives @@ -1,8 +1,7 @@ #!/bin/bash -# TRAVIS_BRANCH is the branch name or the name of the tag. -VERSION="$(echo ${TRAVIS_BRANCH:-${GITHUB_REF}} | tr / -)" -OS="${TRAVIS_OS_NAME:-${BUILD:-$(uname)}}" +VERSION="$(echo ${GITHUB_REF} | tr / -)" +OS="${BUILD:-$(uname)}" ARCH="$(uname -m)" cp -a images/examples palettes symbols fonts dist/inkstitch diff --git a/bin/build-python b/bin/build-python index bbd2af87..69058593 100755 --- a/bin/build-python +++ b/bin/build-python @@ -4,7 +4,7 @@ set -e site_packages="$(python -c "import os; print(os.path.dirname(os.__file__) + '/site-packages')")" -if [ "$TRAVIS_OS_NAME" = "linux" -a "$BUILD" != "windows" ]; then +if [ "$BUILD" = "linux" ]; then # pyinstaller misses these two pyinstaller_args+="--add-binary /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so:. " pyinstaller_args+="--add-binary /usr/lib/x86_64-linux-gnu/libproxy.so.1:. " @@ -24,7 +24,7 @@ pyinstaller_args+="--hidden-import wx " # We need to use the precompiled bootloader linked with graphical Mac OS X # libraries if we develop a GUI application for Mac: -if [ "$TRAVIS_OS_NAME" = "osx" ]; then +if [ "$BUILD" = "osx" ]; then pyinstaller_args+="--windowed " fi @@ -52,7 +52,7 @@ mv dist/inkstitch/* dist/bin mv dist/bin dist/inkstitch # on Mac, pyinstaller creates a .app version as well, but we don't need that -if [ "$TRAVIS_OS_NAME" = "osx" ]; then +if [ "$BUILD" = "osx" ]; then rm -rf dist/inkstitch.app/ fi |
