Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Fail script if any command fails
set -e
function usage {
local script_name
script_name=$(basename "$0")
cat <<HELP
$script_name (options) <message>
@chtitux
chtitux / merge-master.sh
Created April 4, 2019 15:29
Merge master script
#!/bin/bash
# Example of the slack-usernames file:
# [email protected] @UABCDEF123
# Fail script if any command fails
set -e
GITLAB_HOST=${GITLAB_HOST:-gitlab.com}
GITLAB_UPSTREAM_NAMESPACE=${GITLAB_UPSTREAM_NAMESPACE:-mycorpcompany}