From eef9ccd58355c95b950cff44e23bb76111e78670 Mon Sep 17 00:00:00 2001 From: Mara3l Date: Mon, 6 Nov 2023 14:49:19 +0100 Subject: [PATCH] TRIVIAL: Resetting git after generate.sh --- scripts/generate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate.sh b/scripts/generate.sh index f77b0630a..fcc04550b 100755 --- a/scripts/generate.sh +++ b/scripts/generate.sh @@ -75,8 +75,6 @@ for branch in "$remote_name/master" $(git branch -rl "$remote_name/rel/*") ; do echo "Generating API ref..." if [ "$target_section" == "" ] ; then echo "Skipping master api ref" - #mv -f data.json ./versioned_docs/latest/ - #python3 ../scripts/docs/python_ref_builder.py api_spec.toml ./versioned_docs/latest/data.json latest versioned_docs else directories=$(find .. -type d -name 'gooddata-*') @@ -112,3 +110,5 @@ if [ "$keep_master" != "keep_master" ] ; then rm -rf "${content_dir}/docs" fi popd + +git reset --hard