Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions build/scripts/package.linux.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
set -o
set -u
set pipefail

if [ -z "$VERSION" ]; then
if [[ -z "$VERSION" ]]; then
echo "Provide the version as environment variable VERSION"
exit 1
fi

if [ -z "$RUNTIME" ]; then
if [[ -z "$RUNTIME" ]]; then
echo "Provide the runtime as environment variable RUNTIME"
exit 1
fi
Expand All @@ -33,7 +36,7 @@ APPIMAGETOOL_URL=https://github.com/AppImage/appimagetool/releases/download/cont

cd build

if [ ! -f "appimagetool" ]; then
if [[ ! -f "appimagetool" ]]; then
curl -o appimagetool -L "$APPIMAGETOOL_URL"
chmod +x appimagetool
fi
Expand Down
9 changes: 6 additions & 3 deletions build/scripts/package.osx-app.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
set -o
set -u
set pipefail

if [ -z "$VERSION" ]; then
if [[ -z "$VERSION" ]]; then
echo "Provide the version as environment variable VERSION"
exit 1
fi

if [ -z "$RUNTIME" ]; then
if [[ -z "$RUNTIME" ]]; then
echo "Provide the runtime as environment variable RUNTIME"
exit 1
fi
Expand Down
9 changes: 6 additions & 3 deletions build/scripts/package.windows-portable.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
set -o
set -u
set pipefail

if [ -z "$VERSION" ]; then
if [[ -z "$VERSION" ]]; then
echo "Provide the version as environment variable VERSION"
exit 1
fi

if [ -z "$RUNTIME" ]; then
if [[ -z "$RUNTIME" ]]; then
echo "Provide the runtime as environment variable RUNTIME"
exit 1
fi
Expand Down