From b1d748b1196b0433827423767984f81f11554d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 18 Feb 2019 09:42:44 +0100 Subject: [PATCH] Add instructions to download the "latest" binaries --- cloud/ubuntu.sh | 3 +-- docs/quickstart.rst | 6 +++++- docs/tutor.rst | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cloud/ubuntu.sh b/cloud/ubuntu.sh index c421368..1fc2709 100755 --- a/cloud/ubuntu.sh +++ b/cloud/ubuntu.sh @@ -2,7 +2,6 @@ # Provision an AWS cloud instance with tutor. # Run with: curl -sSL https://raw.githubusercontent.com/regisb/tutor/master/cloud/ubuntu.sh | sudo bash -e -export TUTOR_VERSION="v3.0.5" export TUTOR_USER="$SUDO_USER" export DEBIAN_FRONTEND=noninteractive @@ -33,7 +32,7 @@ curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compo chmod +x /usr/local/bin/docker-compose echo "=============== Installing tutor" -curl -L "https://github.com/regisb/tutor/releases/download/$TUTOR_VERSION/tutor-linux" -o /usr/local/bin/tutor +curl -L "https://github.com/regisb/tutor/releases/download/latest/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor chmod +x /usr/local/bin/tutor echo "=============== Configuring supervisor" diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 86e9320..d7b5318 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -3,7 +3,11 @@ Quickstart ========== -1. `Download `_ the latest stable release of Tutor, uncompress the file and place the ``tutor`` executable in your path. +1. `Download `_ the latest stable release of Tutor, uncompress the file and place the ``tutor`` executable in your path. From the command line:: + + sudo curl -L "https://github.com/regisb/tutor/releases/download/latest/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor + sudo chmod +x /usr/local/bin/tutor + 2. Run ``tutor local quickstart`` 3. You're done! diff --git a/docs/tutor.rst b/docs/tutor.rst index 484db0e..6d99424 100644 --- a/docs/tutor.rst +++ b/docs/tutor.rst @@ -40,7 +40,6 @@ Releasing a new version - Bump the ``__version__`` value in ``tutor/__about__.py``. - Replace "Latest" by the version name in CHANGELOG.md. -- Upgrade the tutor version for the cloud. - Create a commit with the version changelog. - ``git push`` - ``make tag TAG=vxxx``