Skip to content

Commit

Permalink
TRIVIAL: Resetting git after generate.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara3l committed Nov 6, 2023
1 parent 3fd79c9 commit eef9ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-*')

Expand Down Expand Up @@ -112,3 +110,5 @@ if [ "$keep_master" != "keep_master" ] ; then
rm -rf "${content_dir}/docs"
fi
popd

git reset --hard

0 comments on commit eef9ccd

Please sign in to comment.