diff --git a/scripts/ci/steps/release.sh b/scripts/ci/steps/release.sh new file mode 100755 index 0000000..06d4827 --- /dev/null +++ b/scripts/ci/steps/release.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +[ -n "$DEBUG" ] && set -x +set -e +set -o pipefail + +export TERM=xterm + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )" + +cd "$PROJECT_DIR" + +git crypt unlock +git pull + +./build version:bump[minor] +./build release