Skip to content

Instantly share code, notes, and snippets.

View chtitux's full-sized avatar

Théophile Helleboid - chtitux chtitux

View GitHub Profile
@chtitux
chtitux / merge-master.sh
Created April 4, 2019 15:29
Merge master script
#!/bin/bash
# Example of the slack-usernames file:
# han.solo@gitlab.com @UABCDEF123
# Fail script if any command fails
set -e
GITLAB_HOST=${GITLAB_HOST:-gitlab.com}
GITLAB_UPSTREAM_NAMESPACE=${GITLAB_UPSTREAM_NAMESPACE:-mycorpcompany}
#!/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>