+LFTOOLS_DIR="$WORKSPACE/.venv-lftools"
+if [ ! -d "$LFTOOLS_DIR" ]
+then
+ virtualenv "$LFTOOLS_DIR"
+ # shellcheck disable=SC1090
+ source "$LFTOOLS_DIR/bin/activate"
+ pip install --upgrade pip
+ pip freeze
+ pip install lftools
+fi
+# shellcheck disable=SC1090
+source "$LFTOOLS_DIR/bin/activate"
+
+# Directory to put git format-patches
+PATCH_DIR="$WORKSPACE/patches"
+
+echo "$RELEASE_TAG"
+lftools version release "$RELEASE_TAG"