From d14b3ec19f44fc4ac88c1fa4b7c97e201c689b96 Mon Sep 17 00:00:00 2001 From: octachron Date: Thu, 28 Jan 2021 10:21:56 +0100 Subject: [PATCH] Release howto: add a TAGVERSION variable --- release-info/howto.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/release-info/howto.md b/release-info/howto.md index a40a9cdca851..f2cd5000ec19 100644 --- a/release-info/howto.md +++ b/release-info/howto.md @@ -25,7 +25,7 @@ rm -f /tmp/env-$USER.sh cat >/tmp/env-$USER.sh < 4.08.1+dev0 @@ -254,7 +255,7 @@ The synopsis should be "latest $VERSION development(,...)". ``` cd $WORKTREE TMPDIR=/tmp/ocaml-release -git checkout $VERSION +git checkout $TAGVERSION git checkout-index -a -f --prefix=$TMPDIR/ocaml-$VERSION/ cd $TMPDIR $TAR -c --owner 0 --group 0 -f ocaml-$VERSION.tar ocaml-$VERSION