From 38265a9f2172fee945f687d45a37519530354327 Mon Sep 17 00:00:00 2001 From: Elisabeth Kulzer Date: Fri, 16 Jul 2021 11:11:16 +0200 Subject: [PATCH] Add circleci --- .circleci/config.yml | 8 ++++++++ scripts/upgrade-from-mattermost-docker.sh | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6c51b3c --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,8 @@ +version: 2.1 +orbs: + shellcheck: circleci/shellcheck@2.2.4 +workflows: + check-scripts: + jobs: + - shellcheck/check: + dir: ./scripts diff --git a/scripts/upgrade-from-mattermost-docker.sh b/scripts/upgrade-from-mattermost-docker.sh index 19fdd2c..30c5587 100755 --- a/scripts/upgrade-from-mattermost-docker.sh +++ b/scripts/upgrade-from-mattermost-docker.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash -set -e +set -o errexit ## ## Instructions