Skip to content

Commit

Permalink
preserve pr_description
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed May 29, 2024
1 parent 1a6e5ed commit 5f952b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generation/hermetic_library_generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ if [[ $(basename $(pwd)) == "google-cloud-java" ]]; then
git add java-* pom.xml gapic-libraries-bom/pom.xml versions.txt
else
# The image leaves intermediate folders and files it works with. Here we remove them
rm -rdf output googleapis baseline_generation_config.yaml pr_description.txt
git add .
rm -rdf output googleapis "${baseline_generation_config}"
git add --all -- ':!pr_description.txt'
fi
changed_files=$(git diff --cached --name-only)
if [[ "${changed_files}" == "" ]]; then
Expand Down

0 comments on commit 5f952b2

Please sign in to comment.