diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index b286211..d2d9930 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.0.10](https://github.com/usecloudstate/cli/compare/v1.0.9...v1.0.10) (2021-10-26) + + +### Bug Fixes + +* Template-ify CLI_VERSION in Makefile ([9dd3521](https://github.com/usecloudstate/cli/commit/9dd352116ec78318ec3ae8b7430ed46a0cbad1a8)) + ## [1.0.9](https://github.com/usecloudstate/cli/compare/v1.0.8...v1.0.9) (2021-10-26) diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..b7f9323 --- /dev/null +++ b/install.sh @@ -0,0 +1,72 @@ +#!/bin/bash +{ + set -e + SUDO='' + if [ "$(id -u)" != "0" ]; then + SUDO='sudo' + echo "This script requires superuser access." + echo "You will be prompted for your password by sudo." + # clear any previous sudo permission + sudo -k + fi + + + # run inside sudo + $SUDO bash <