Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts: Set -o pipefail #2794

Merged
merged 1 commit into from Aug 22, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/deploy_ios.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -eu -o pipefail

## Builds an ipa file for iOS. Should be run from the repo-root

Expand Down
2 changes: 1 addition & 1 deletion linux/deploy_deb.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -eu -o pipefail

# Create deb files

Expand Down
2 changes: 1 addition & 1 deletion mac/deploy_mac.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -eu -o pipefail

root_path=$(pwd)
project_path="${root_path}/Jamulus.pro"
Expand Down
2 changes: 1 addition & 1 deletion tools/changelog-helper.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# Requirements: git, Github CLI (gh), jq
set -eu
set -eu -o pipefail

echo "This tool checks the ChangeLog file and compares its entries for the top-most"
echo "release against the associated Github milestone and the git log."
Expand Down
2 changes: 1 addition & 1 deletion tools/check-wininstaller-translations.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -eu -o pipefail

BASE_DIR=src/translation/wininstaller/
BASE_LANG=en
Expand Down
2 changes: 1 addition & 1 deletion tools/create-translation-issues.sh
Expand Up @@ -16,7 +16,7 @@
# Example usage for web translations:
# ../jamulus/tools/create-translation-issues.sh 3.8.0 2021-05-15 web 'Note: The term "Central server" has been replaced with "Directory server"'

set -eu
set -eu -o pipefail

if [[ -z ${1:-} ]] || [[ -z ${2:-} ]] || [[ -z ${3:-} ]]; then
echo "Syntax: $0 RELEASE DEADLINE app|web [EXTRA_TEXT]"
Expand Down
2 changes: 1 addition & 1 deletion tools/update-copyright-notices.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -eu -o pipefail

YEAR=$(date +%Y)
echo "Updating global copyright strings..."
Expand Down